docker-compose: bugfix DOMAIN vs ALLOWED_HOSTS

This commit is contained in:
pedro 2024-10-18 10:28:02 +02:00
parent a65d78e72f
commit 03b9c5fea8
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: