Remove Nginx from deployment and map app to port 80
This commit is contained in:
+2
-11
@@ -12,7 +12,7 @@ services:
|
|||||||
MYSQL_USER: ${MYSQL_USER:-bookkeep}
|
MYSQL_USER: ${MYSQL_USER:-bookkeep}
|
||||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-bookkeepro_pass}
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-bookkeepro_pass}
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "80:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -20,16 +20,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- uploads_data:/app/uploads
|
- uploads_data:/app/uploads
|
||||||
|
|
||||||
nginx:
|
|
||||||
image: nginx:1.27-alpine
|
|
||||||
depends_on:
|
|
||||||
- app
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
volumes:
|
|
||||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
||||||
- ./frontend:/usr/share/nginx/html:ro
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql:8.4
|
image: mysql:8.4
|
||||||
|
|||||||
Reference in New Issue
Block a user