docker-compose: bugfix DOMAIN vs ALLOWED_HOSTS

This commit is contained in:
pedro 2024-10-18 10:28:02 +02:00 committed by Cayo Puigdefabregas
parent 1d9d100fae
commit 9f05dee6a7
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ services:
environment: environment:
- DEBUG=true - DEBUG=true
- DOMAIN=${DOMAIN:-localhost} - DOMAIN=${DOMAIN:-localhost}
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-localhost} - ALLOWED_HOSTS=${ALLOWED_HOSTS:-$DOMAIN}
- DEMO=${DEMO:-false} - DEMO=${DEMO:-false}
- PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-} - PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-}
volumes: volumes: