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

View file

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