Deployment Overview
Use this section to install, configure, and operate AuthSec in on-premises environments.
Recommended Order
- Prerequisites
- Local Quick Start
- Environment Variables
- First-Time Setup
- Production Deployment
- Maintenance
- Troubleshooting
Section Map
- Setup - Installation and initial bootstrap
- Reference - Architecture and API routes
- Production - DNS, TLS, firewall, and hardening
- Operations - Upgrades, backups, and incident response
- Optional Add-Ons - Vault and SPIRE integrations
Architecture At A Glance
AuthSec runs as a Docker Compose stack with:
nginxas the public entrypoint (:80/:443)authsecmonolith backend (:7468)hydrafor OAuth2/OIDC (:4444)postgresfor master and tenant databasesredisfor caching and rate limiting
For full details, see Architecture Overview.