Docker

Run the OpenBotAuth Proxy using Docker Hub images.

Image: hammadtariq/openbotauth-proxyarrow-up-right

Quick Start

docker run -p 8088:8088 hammadtariq/openbotauth-proxy

Supported Platforms

The Docker image supports multiple architectures:

  • linux/amd64 - Intel/AMD 64-bit

  • linux/arm64 - ARM 64-bit (Apple Silicon, AWS Graviton)

Pull Image

# Latest version
docker pull hammadtariq/openbotauth-proxy

# Specific version
docker pull hammadtariq/openbotauth-proxy:0.1.5

# Latest tag
docker pull hammadtariq/openbotauth-proxy:latest

Configuration

Configure via environment variables:

Variable
Default
Description

PORT

8088

Proxy listen port

UPSTREAM_URL

http://localhost:8080

Backend server URL

OBA_VERIFIER_URL

https://verifier.openbotauth.org/verify

Verifier endpoint

OBA_MODE

observe

observe or require-verified

OBA_TIMEOUT_MS

5000

Verifier timeout (ms)

OBA_PROTECTED_PATHS

/protected

Comma-separated protected paths

Usage Examples

Basic Usage

Custom Backend

Require Verification

Full Configuration

Docker Compose

Basic Setup

Production Setup

With Nginx Frontend

Kubernetes

Deployment

Service

Networking

Accessing Host Services

When proxying to services on the Docker host:

Docker Desktop (Mac/Windows):

Linux:

Docker Network

For containers in the same network:

Health Check

Response:

Troubleshooting

Cannot connect to backend

  1. Ensure backend is on the same Docker network

  2. Use service name (not localhost) for UPSTREAM_URL

  3. Check backend is exposing the correct port

Image pull fails

Container exits immediately

Check container logs:

Last updated