# ==========================================
#  Meldestelle - Docker Compose Environment
#  Single Source of Truth (SSoT)
# ==========================================
# Profil: DEVELOPMENT (Lokal)

# --- PROJEKT EINSTELLUNGEN ---
PROJECT_NAME=meldestelle
PROJEKT_EMAIL=meldestelle@mo-code.at
# Restart Policy: 'no' für Dev (Fehler sehen), 'always' für Prod
RESTART_POLICY=no

# --- POSTGRESQL (Datenbank) ---
POSTGRES_USER=pg-user
POSTGRES_PASSWORD=pg-password
POSTGRES_PORT=5432:5432
# Standard-Datenbankname für lokale Entwicklung (sollte mit docker-compose übereinstimmen)
POSTGRES_DB=pg-meldestelle-db

# --- REDIS (Cache) ---
# Optional: Redis Passwort setzen. Leer lassen = kein Passwort.
# Wenn gesetzt, muss der Healthcheck in docker-compose das berücksichtigen.
REDIS_PORT=6379:6379
REDIS_PASSWORD=

# --- KEYCLOAK (Identity Provider) ---
KC_ADMIN_USER=kc-admin
KC_ADMIN_PASSWORD=kc-password
KC_HOSTNAME=localhost
KC_PORT=8180:8080

# --- PGADMIN (DB GUI) ---
PGADMIN_EMAIL=meldestelle@mo-code.at
PGADMIN_PASSWORD=strong-password
PGADMIN_PORT=8888:80

# --- PROMETHEUS (Metriken) ---
PROMETHEUS_PORT=9090:9090

# --- GRAFANA (Monitoring GUI) ---
GF_ADMIN_USER=gf-admin
GF_ADMIN_PASSWORD=gf-password
GF_PORT=3000:3000

# --- SERVICE DISCOVERY (Consul) ---
CONSUL_PORT=8500:8500
CONSUL_UDP_PORT=8600:8600

# --- API GATEWAY ---
GATEWAY_SERVER_PORT=8081:8081
GATEWAY_DEBUG_PORT=5005:5005

# --- MICROSERVICES ---
PING_PORT=8082:8082
PING_DEBUG_PORT=5006:5006

# --- WEB CLIENTS ---
# Web-App (Nginx inside container listens on 80)
WEB_APP_PORT=4000:4000

# Desktop-App (VNC + noVNC)
DESKTOP_APP_VNC_PORT=5901:5901
DESKTOP_APP_NOVNC_PORT=6080:6080
