Use docker extensions for env variables
This commit is contained in:
parent
72f8426f72
commit
858c2c6eb3
3 changed files with 20 additions and 29 deletions
|
|
@ -5,13 +5,9 @@ volumes:
|
|||
node-modules:
|
||||
|
||||
services:
|
||||
db:
|
||||
env_file: ./.development.env
|
||||
|
||||
celery:
|
||||
build:
|
||||
target: development
|
||||
env_file: ./.development.env
|
||||
volumes:
|
||||
- ./src/:/app/src
|
||||
|
||||
|
|
@ -19,7 +15,6 @@ services:
|
|||
build:
|
||||
target: development
|
||||
command: python /app/src/manage.py runserver 0.0.0.0:8000
|
||||
env_file: ./.development.env
|
||||
ports:
|
||||
- "${DJANGO_PORT:-8000}:8000"
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue