Something went wrong. Try again.
AtAuth
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667version: '3.8'
services: gateway: build: context: . dockerfile: Dockerfile image: atauth-gateway:latest container_name: atauth-gateway restart: unless-stopped ports: - "3100:3100" volumes: - atauth-data:/app/data environment: # Server - PORT=3100 - HOST=0.0.0.0 - NODE_ENV=production
# OAuth client configuration - OAUTH_CLIENT_ID=https://auth.example.com/client-metadata.json - OAUTH_REDIRECT_URI=https://auth.example.com/auth/callback
# CORS - CORS_ORIGINS=https://example.com,http://localhost:3000
# Admin token (generate with: openssl rand -hex 32) - ADMIN_TOKEN=${ADMIN_TOKEN:-changeme}
# OIDC configuration - OIDC_ENABLED=true - OIDC_ISSUER=https://auth.example.com - OIDC_KEY_SECRET=${OIDC_KEY_SECRET:-change-me-in-production-32-bytes!} - OIDC_KEY_ALGORITHM=ES256
# Passkey/WebAuthn - PASSKEY_ENABLED=true - WEBAUTHN_RP_NAME=ATAuth - WEBAUTHN_RP_ID=auth.example.com - WEBAUTHN_ORIGIN=https://auth.example.com
# MFA - MFA_ENABLED=true - MFA_TOTP_ISSUER=ATAuth - MFA_ENCRYPTION_KEY=${MFA_ENCRYPTION_KEY:-0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef}
# Email (disabled by default) - EMAIL_ENABLED=false # - EMAIL_PROVIDER=smtp # - EMAIL_FROM=ATAuth <noreply@example.com> # - SMTP_HOST=smtp.example.com # - SMTP_PORT=587 # - SMTP_USER=noreply@example.com # - SMTP_PASS=your-password
healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3100/health"] interval: 30s timeout: 3s retries: 3 start_period: 5s
volumes: atauth-data: driver: local