1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2024-12-24 19:02:59 +06:00
parent 0b05550a95
commit b34ca1c2ce
2 changed files with 20 additions and 27 deletions

View File

@@ -7,6 +7,11 @@ services:
dockerfile: docker/frontend/Dockerfile
container_name: support-frontend
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
depends_on:
- backend
@@ -23,19 +28,7 @@ services:
- ./backend:/app
- sqlite_data:/app/instance
ports:
- "8081:8000"
nginx:
build:
context: ./docker/nginx
dockerfile: Dockerfile
container_name: support-nginx
restart: unless-stopped
ports:
- "8080:80" # Изменено с 80:80 на 8080:80
depends_on:
- frontend
- backend
- "8000:8000"
volumes:
sqlite_data:
sqlite_data: