This commit is contained in:
2026-05-03 08:50:17 +03:00
parent f3777684ee
commit 722b4a41ba
2 changed files with 80 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
version: "3.8"
networks:
shared-network:
services:
nginx:
image: nginx:1.27.2-alpine
container_name: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./logs:/var/log/nginx
ports:
- "80:80"
- "443:443"
depends_on:
- backend
- frontend
networks:
- shared-network
backend:
build: .././backend
container_name: backend
ports:
- "5000:8080"
- "5001:8081"
networks:
- shared-network
frontend:
build: .././frontend
container_name: frontend
ports:
- "5002:80"
- "5003:443"
networks:
- shared-network