Remove env_file from docker-compose; use Portainer environment variables directly

This commit is contained in:
Troll (Hermes Agent) 2026-07-31 20:50:14 +00:00
parent 3ef8aaf45a
commit 1ad02023c2
2 changed files with 19 additions and 9 deletions

View file

@ -4,7 +4,18 @@ services:
context: https://gitlab.hallsworth.ca/yrtria/theme-song-booth.git#main
container_name: theme-song-booth
restart: unless-stopped
env_file: .env
environment:
- APP_SECRET_KEY=${APP_SECRET_KEY}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SMTP_HOST=${SMTP_HOST:-mailroot8.namespro.ca}
- SMTP_PORT=${SMTP_PORT:-465}
- SMTP_USER=${SMTP_USER:-ai@hallsworth.ca}
- SMTP_PASS=${SMTP_PASS}
- SMTP_FROM=${SMTP_FROM:-ai@hallsworth.ca}
- ADMIN_ALERT_EMAIL=${ADMIN_ALERT_EMAIL:-}
- PUBLIC_BASE_URL=${PUBLIC_BASE_URL}
- BOOTH_NAME=${BOOTH_NAME:-Trollgorithm Theme Songs}
- INTERNAL_PORT=${INTERNAL_PORT:-8000}
ports:
- "${HOST_PORT:-127.0.0.1:8000}:${INTERNAL_PORT:-8000}"
volumes: