Improved docker compose file

This commit is contained in:
Keannu Bernasol 2023-08-05 14:14:07 +08:00
parent b6c7f4c900
commit d6bef3a231

View file

@ -1,8 +1,8 @@
version: '3.9'
services:
# Python app service
python_app:
# Django App
django_backend:
build:
context: .
dockerfile: Dockerfile
@ -12,4 +12,8 @@ services:
environment:
- PYTHONBUFFERED=1
command: ["python", "stude/manage.py", "runserver"]
volumes:
- stude:/app
volumes:
stude: