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