feat(FN-006): add production deployment configuration

- Create docker-compose.prod.yml with Traefik, API, web, and DB services
- Add Portainer stack deployment files
- Configure Let's Encrypt TLS and health checks
- Add deployment environment variable examples
- Update portainer.env.example with additional config vars
This commit is contained in:
2026-05-14 17:28:56 +02:00
parent 6f18dd24a5
commit 139654d5c0
4 changed files with 268 additions and 7 deletions
+27
View File
@@ -0,0 +1,27 @@
# Production Environment Variables
# Copy to .env and fill in all values
# Domain Configuration
ROOT_DOMAIN=example.com
ACME_EMAIL=admin@example.com
# Database
POSTGRES_USER=headquarter
POSTGRES_PASSWORD=change-me-in-production
POSTGRES_DB=headquarter
# Authentik OIDC
AUTHENTIK_ISSUER_URL=https://auth.example.com/application/o/headquarter/
AUTHENTIK_CLIENT_ID=headquarter-api
AUTHENTIK_CLIENT_SECRET=change-me-in-production
# API Configuration
SECRET_ENCRYPTION_KEY=change-me-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Deployment
TRAEFIK_LOG_LEVEL=INFO
API_TAG=latest
WEB_TAG=latest
REGISTRY=ghcr.io
REPO=headquarter