ARG-Variablen durch feste Werte in FROM ersetzt — nicht per .env ueberschreibbar. PYTHON_VERSION, NODE_VERSION, NPM_VERSION, NGINX_VERSION aus .env, env-sample und Compose-Dateien entfernt. Deployment-Anleitung erstellt und entsprechend angepasst. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
67 lines
2.8 KiB
Plaintext
67 lines
2.8 KiB
Plaintext
# =============================================================================
|
|
# BUILD-UMGEBUNG (zentrale Einstellung — hier dev/prod umschalten)
|
|
# =============================================================================
|
|
# Bestimmt, welche docker-compose-*.yaml neben der base-Datei geladen wird.
|
|
# COMPOSE_FILE wird von Docker Compose automatisch ausgewertet (auch via .env);
|
|
# mehrere Dateien werden durch ':' getrennt und nacheinander gemerged.
|
|
BUILD_ENVIRONMENT=dev
|
|
COMPOSE_FILE=docker-compose.base.yaml:docker-compose.${BUILD_ENVIRONMENT}.yaml
|
|
|
|
# Parameter für NGINX-Server
|
|
# SSL für NGINX aktivieren (true) oder deaktivieren (false).
|
|
# Bei false muss NGINX_HOST_PORT angepasst werden (z.B. 8080 statt 443).
|
|
NGINX_USE_SSL=true
|
|
NGINX_HOST_PORT=443
|
|
NGINX_SERVER_NAME=kbp_crm.mylocal.de
|
|
# NGINX_STATIC_DIR: nur in Dev benoetigt (bind-mount fuer statische Dateien).
|
|
# In Prod liegen die statischen Dateien im NGINX-Image.
|
|
NGINX_STATIC_DIR=/home/schoschi/Entwicklung/Projekte_Runden/kbcrm/NGINX_Server/html
|
|
# NGINX_CONFIG_TEMPLATE_DIR: nur in Dev benoetigt (bind-mount fuer NGINX-Templates).
|
|
# In Prod liegen die Templates im NGINX-Image.
|
|
NGINX_CONFIG_TEMPLATE_DIR=/home/schoschi/Entwicklung/Projekte_Runden/kbcrm/NGINX_Server/configtemplates
|
|
NGINX_CERTS=/home/schoschi/Entwicklung/Projekte_Runden/kbcrm/NGINX_Server/certs
|
|
NGINX_CERT=wildcard.mylocal.crt
|
|
NGINX_CERT_KEY=wildcard.mylocal.key
|
|
|
|
# Parameter for Python App-Server
|
|
# PYTHON_APP_DIR entfaellt — Code wird in Prod ins Image gebaut (Option B).
|
|
# In Dev wird PYTHON_DEV_DIR als bind-mount verwendet (siehe docker-compose.dev.yaml).
|
|
PYTHON_DEV_DIR=/home/schoschi/Entwicklung/Projekte_Runden/kbcrm
|
|
PYTHON_DB_DIR=/home/schoschi/Entwicklung/Projekte_Runden/kbcrm/App_Server/data
|
|
# PYTHON_ENV_DIR=/home/schoschi/Entwicklung/Projekte_Runden/kbcrm/App_Server/env
|
|
|
|
|
|
# =============================================================================
|
|
# ZITADEL OIDC SETTINGS
|
|
# =============================================================================
|
|
|
|
# Zitadel Issuer URL (OIDC Provider)
|
|
# Example: https://your-zitadel-instance.zitadel.cloud
|
|
ZITADEL_ISSUER=https://id.vmlx.de
|
|
|
|
# OIDC Client ID from Zitadel
|
|
ZITADEL_CLIENT_ID=###client##
|
|
|
|
# OIDC Client Secret from Zitadel # not for PKCE
|
|
ZITADEL_CLIENT_SECRET=####secret ###
|
|
|
|
# Redirect URI for OIDC callback
|
|
# Default: http://localhost:5000/auth/callback
|
|
#ZITADEL_REDIRECT_URI=http://localhost:8000/auth/callback
|
|
ZITADEL_REDIRECT_URI=https://kbp_crm.mylocal.de/auth/callback
|
|
|
|
# OIDC Scopes (comma-separated)
|
|
ZITADEL_SCOPES=openid,profile,email
|
|
|
|
# =============================================================================
|
|
# EMAIL SETTINGS (for notifications)
|
|
# =============================================================================
|
|
|
|
# SMTP Server
|
|
# SMTP_SERVER=localhost
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=
|
|
# SMTP_PASSWORD=
|
|
# SMTP_USE_TLS=true
|
|
# EMAIL_FROM=formeleon@yourdomain.com
|