1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

check nginx

This commit is contained in:
1
2024-12-25 12:58:12 +06:00
parent d5ca89edf9
commit b87b43433e
3 changed files with 22 additions and 20 deletions

View File

@@ -4,6 +4,9 @@ services:
context: .
dockerfile: docker/frontend/Dockerfile
container_name: support-frontend
volumes:
- ./frontend:/app
- /app/node_modules
restart: unless-stopped
depends_on:
- backend
@@ -24,13 +27,13 @@ services:
- "8000"
nginx:
build:
context: ./docker/nginx
dockerfile: Dockerfile
image: nginx:alpine
container_name: support-nginx
restart: unless-stopped
volumes:
- ./frontend/dist:/usr/share/nginx/html
- ./docker/nginx/conf.d:/etc/nginx/conf.d
ports:
- "80:80" # Меняем на стандартный порт 80
- "8080:80"
depends_on:
- frontend
- backend