update docker-compose file

This commit is contained in:
Keannu Bernasol 2024-01-05 21:09:54 +08:00
parent 7bd33228a6
commit c50a14be6a

View file

@ -2,13 +2,13 @@ version: "3.9"
services:
# Django App
django_backend:
django_equipment_tracker:
build:
context: .
dockerfile: Dockerfile
image: equipmenttracker_backend:latest
image: csm_equipment_tracker:latest
ports:
- "8094:8000" # Expose port 8094 for the web server
- "8092:8000"
environment:
- PYTHONBUFFERED=1
command:
@ -19,5 +19,6 @@ services:
]
volumes:
- .:/code # For hotreloading
volumes:
equipment_tracker:
csm_equipment_tracker: