use .env vars in waecm_g4_be;
mounted ./db to /code/app_be/db to persist db;
This commit is contained in:
parent
fdf64ca70a
commit
8c34ece094
@ -11,6 +11,10 @@ services:
|
|||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
command: python manage.py runserver 0.0.0.0:8000
|
command: python manage.py runserver 0.0.0.0:8000
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./db:/code/app_be/db
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user