Files
headquarter/deploy/.env.example
T
alex 1f2017b7a9 refactor(docker): remove all .env file references and add configurable Traefik vars
- Remove env_file from deploy/portainer-stack.yml (api and web services)
- Add TRAEFIK_CERT_RESOLVER env var to all Traefik router labels
- Add TRAEFIK_DASHBOARD_SUBDOMAIN for configurable dashboard hostname
- Add TRAEFIK_ENTRYPOINT env var to Traefik dashboard router
- Update .env.example with TRAEFIK_DASHBOARD_SUBDOMAIN and TRAEFIK_LOG_LEVEL
- Update deploy/.env.example with new Traefik variables

All environment variables now come from host environment only.
2026-05-16 12:05:43 +00:00

37 lines
926 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_NETWORK=traefik
TRAEFIK_LOG_LEVEL=INFO
TRAEFIK_ENTRYPOINT=websecure
TRAEFIK_CERT_RESOLVER=letsencrypt
TRAEFIK_DASHBOARD_SUBDOMAIN=traefik
API_TAG=latest
WEB_TAG=latest
REGISTRY=ghcr.io
REPO=headquarter
# Frontend build-time variables
VITE_API_URL=https://api.example.com
VITE_OIDC_ISSUER=https://auth.example.com/application/o/headquarter/
VITE_OIDC_CLIENT_ID=headquarter-web