Docker
Run the OpenBotAuth Proxy using Docker Hub images.
Quick Start
docker run -p 8088:8088 hammadtariq/openbotauth-proxySupported Platforms
The Docker image supports multiple architectures:
linux/amd64- Intel/AMD 64-bitlinux/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:latestConfiguration
Configure via environment variables:
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
Ensure backend is on the same Docker network
Use service name (not localhost) for
UPSTREAM_URLCheck backend is exposing the correct port
Image pull fails
Container exits immediately
Check container logs:
Links
Last updated