# ==============================================================================
# PROJECT SETTINGS
# ==============================================================================
PROJECT_NAME=mb-grid-solutions.com
PROJECT_COLOR=#82ed20

# ==============================================================================
# HOST CONFIGURATION (LOCAL DEV)
# ==============================================================================
# These are used by Traefik in local development.
# In CI/CD, these are automatically set by the deployment pipeline.
TRAEFIK_HOST=mb-grid-solutions.localhost
DIRECTUS_HOST=cms.mb-grid-solutions.localhost

# ==============================================================================
# NEXT.JS SETTINGS
# ==============================================================================
# The public URL of the frontend. Used for absolute links and meta tags.
NEXT_PUBLIC_BASE_URL=http://mb-grid-solutions.localhost

# ==============================================================================
# DIRECTUS CMS SETTINGS
# ==============================================================================
# Public URL of the CMS (must be accessible from the browser)
# Automatisierung: Wird in CI/CD automatisch basierend auf der Umgebung gesetzt.
DIRECTUS_URL=http://cms.mb-grid-solutions.localhost

# CMS Authentication - Create a Static Token in Directus User Settings
# Automatisierung: Wird in CI/CD aus den Gitea Secrets (DIRECTUS_API_TOKEN) gelesen.
# Smart Fallback: Wenn kein Token gesetzt ist, wird automatisch der Admin-Login verwendet.
DIRECTUS_API_TOKEN=

# Initial Setup (Admin User)
DIRECTUS_ADMIN_EMAIL=marc@mintel.me
DIRECTUS_ADMIN_PASSWORD=Tim300493.

# Database Settings (Local Docker)
DIRECTUS_DB_NAME=directus
DIRECTUS_DB_USER=directus
DIRECTUS_DB_PASSWORD=mintel-db-pass

# Security Keys (Generate random strings for production)
# Automatisierung: Werden in CI/CD aus Gitea Secrets gelesen.
# DIRECTUS_KEY=
# DIRECTUS_SECRET=

# ==============================================================================
# SMTP CONFIGURATION (CONTACT FORM)
# ==============================================================================
SMTP_HOST=smtp.example.com
SMTP_PORT=587

# SMTP_SECURE:
# - true:  Use SSL/TLS (usually Port 465).
# - false: Use STARTTLS (usually Port 587) or no encryption.
SMTP_SECURE=false

SMTP_USER=user@example.com
SMTP_PASS=your_password
SMTP_FROM="MB Grid Solutions <noreply@mb-grid-solutions.com>"

# Comma-separated list of recipients for contact form submissions
CONTACT_RECIPIENT=info@mb-grid-solutions.com,admin@mb-grid-solutions.com

# ==============================================================================
# AUTHENTICATION (GATEKEEPER)
# ==============================================================================
GATEKEEPER_PASSWORD=lassmichrein
AUTH_COOKIE_NAME=mintel_gatekeeper_session

# ==============================================================================
# EXTERNAL SERVICES
# ==============================================================================

# Sentry / Glitchtip (Error Tracking)
SENTRY_DSN=
NEXT_PUBLIC_SENTRY_DSN=

# Gotify (In-App Notifications)
# GOTIFY_URL=
# GOTIFY_TOKEN=

# Analytics (Umami)
UMAMI_WEBSITE_ID=
UMAMI_API_ENDPOINT=https://analytics.infra.mintel.me
