- Von 16 .env Dateien auf 2 zentrale reduziert * docker/dev/.env - Development Secrets * docker/prod/.env - Production Secrets - Alle ENV-Variablen jetzt in docker-compose.yml environment sections - .env COPY aus allen Dockerfiles entfernt (wurden durch volume mounts überschrieben) - Frontend env.sh umgeschrieben: Liest ENV-Variablen statt .env Datei - CLIENT_URL komplett entfernt (wurde nirgendwo verwendet) - Fix: management.js nutzt platform_name statt name (DB-Schema korrekt) ENV-Handling jetzt deutlich einfacher und wartbarer! Von 4 Frontend ENV-Variablen auf 3 reduziert (API_URL, PUBLIC_HOST, INTERNAL_HOST)
19 lines
779 B
Plaintext
19 lines
779 B
Plaintext
# Docker Compose Environment Variables for Production
|
|
# Copy this file to .env and adjust values
|
|
# IMPORTANT: Keep this file secure and never commit .env to git!
|
|
|
|
# Admin Session Secret (REQUIRED: Generate new secret!)
|
|
# Generate with: openssl rand -base64 32
|
|
ADMIN_SESSION_SECRET=CHANGE-ME-IN-PRODUCTION
|
|
|
|
# Telegram Bot Configuration (optional)
|
|
# Set to true to enable Telegram notifications in production
|
|
TELEGRAM_ENABLED=false
|
|
# Bot-Token from @BotFather (production bot)
|
|
# Example: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz1234567890
|
|
TELEGRAM_BOT_TOKEN=your-production-bot-token-here
|
|
# Chat-ID of the production Telegram group (negative for groups!)
|
|
# Get via: https://api.telegram.org/bot<TOKEN>/getUpdates
|
|
# Example: -1001234567890
|
|
TELEGRAM_CHAT_ID=your-production-chat-id-here
|