mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-17 06:19:26 +08:00
update docker-compose file
This commit is contained in:
parent
7bd33228a6
commit
c50a14be6a
1 changed files with 5 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue