1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
Files
AdministrationItDepartmens/docker-compose.yml
2024-12-25 13:02:18 +06:00

46 lines
955 B
YAML

services:
frontend:
build:
context: .
dockerfile: docker/frontend/Dockerfile
container_name: support-frontend
restart: unless-stopped
networks:
- app-network
backend:
build:
context: .
dockerfile: docker/backend/Dockerfile
container_name: support-backend
restart: unless-stopped
environment:
- TELEGRAM_BOT_TOKEN=7677506032:AAHEqNUr1lIUfNVbLwaWIaPeKKShsCyz3eo
- TELEGRAM_CHAT_ID=-1002037023574
volumes:
- ./backend:/app
- sqlite_data:/app/instance
networks:
- app-network
nginx:
build:
context: ./docker/nginx
dockerfile: Dockerfile
container_name: support-nginx
restart: unless-stopped
ports:
- "80:80" # Возвращаем стандартный порт
depends_on:
- frontend
- backend
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
sqlite_data: