Deployment
Deploy Autional in production with Docker compose, Kubernetes, or self-hosted bare metal.
Docker Compose
git clone https://github.com/autional/authms cd authms # Production: use separate infra + services compose files docker compose -f docker-compose.infra.yml -f docker-compose.monolith.yml up -d
Configuration
Key environment variables to set for production:
| Variable | Description | Required |
|---|---|---|
| JWT_SECRET | Token signing key (min 32 chars) | Yes |
| PASSWORD_PEPPER | Pepper for password hashing | Yes |
| INTERNAL_API_KEY | Service-to-service auth | Yes |
| PG_PASSWORD | PostgreSQL password | Yes |
| REDIS_PASSWORD | Redis password | Yes |
SSL / TLS
For production, use Let's Encrypt or your CA. The gateway nginx handles SSL termination. See docker/nginx/certs/ for reference self-signed certificates.
Monitoring
Prometheus + Grafana dashboards are included for monitoring all 24 services. Alertmanager handles alert routing. OpenTelemetry tracing via Jaeger.
# Monitoring stack docker compose -f docker-compose.monitoring.yml up -d # Grafana: http://localhost:13000 (admin/admin)