139654d5c0
- 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
28 lines
628 B
Bash
28 lines
628 B
Bash
# 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
|