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

47 lines
1.0 KiB
YAML

version: '3.8'
services:
frontend:
build:
context: ./frontend
dockerfile: ../docker/frontend/Dockerfile
container_name: support-frontend
restart: unless-stopped
volumes:
- ./frontend:/app
- /app/node_modules
ports:
- "3000:80"
backend:
build:
context: ./backend
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
ports:
- "8000:8000"
nginx:
image: nginx:alpine
container_name: support-nginx
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
- ./frontend/dist:/usr/share/nginx/html:ro
depends_on:
- frontend
- backend
volumes:
sqlite_data: