Remove variable defaults

These are not set whenever a merged compose file is used
This commit is contained in:
Sonny Bakker 2023-06-27 10:11:07 +02:00
parent 60af3ba4f6
commit 6a46dc01e2
3 changed files with 9 additions and 8 deletions

View file

@ -5,6 +5,8 @@ volumes:
node-modules:
services:
db:
env_file: ./.development.env
celery:
env_file: ./.development.env
environment:
@ -15,12 +17,12 @@ services:
django:
build:
target: development
command: python /app/src/manage.py runserver 0.0.0.0:${DJANGO_PORT:-8000}
command: python /app/src/manage.py runserver 0.0.0.0:8000
env_file: ./.development.env
environment:
- DJANGO_SETTINGS_MODULE=newsreader.conf.docker
ports:
- "${DJANGO_PORT:-8000}:${DJANGO_PORT:-8000}"
- "${DJANGO_PORT:-8000}:8000"
volumes:
- ./src:/app/src
- static-files:/app/src/newsreader/static