This commit is contained in:
Elijah Lucian
2021-04-14 20:36:40 -06:00
parent 8c40f30286
commit 486955a861
11 changed files with 20260 additions and 151 deletions
+3 -3
View File
@@ -9,6 +9,7 @@ services:
- server
volumes:
- ./devops/nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./frontend/build:/var/www/html
ports:
- 80:80
- 443:443
@@ -18,7 +19,6 @@ services:
context: ./frontend
volumes:
- ./frontend/src:/usr/src/frontend/src
- ./frontend/public:/usr/src/frontend/public
ports:
- 3000:3000
environment:
@@ -28,8 +28,8 @@ services:
server:
build:
context: ./server
volumes:
- ./server:/usr/src/server
# volumes:
# - ./server:/usr/src/server
ports:
- 8000:8000
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]