- 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)
17 lines
612 B
Plaintext
17 lines
612 B
Plaintext
# Docker Compose Environment Variables for Development
|
|
# Copy this file to .env and adjust values
|
|
|
|
# Admin Session Secret (optional, has default: dev-session-secret-change-me)
|
|
#ADMIN_SESSION_SECRET=your-secret-here
|
|
|
|
# Telegram Bot Configuration (optional)
|
|
TELEGRAM_ENABLED=false
|
|
TELEGRAM_SEND_TEST_ON_START=false
|
|
# Bot-Token from @BotFather
|
|
# Example: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz1234567890
|
|
TELEGRAM_BOT_TOKEN=your-bot-token-here
|
|
# Chat-ID of the Telegram group (negative for groups!)
|
|
# Get via: https://api.telegram.org/bot<TOKEN>/getUpdates
|
|
# Example: -1001234567890
|
|
TELEGRAM_CHAT_ID=your-chat-id-here
|