mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +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:
|
||||
# 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:
|
||||
|
|
Loading…
Reference in a new issue