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

cha2524222fvdfа

This commit is contained in:
MoonTestUse1
2024-12-24 16:50:31 +06:00
parent ff0ee37eba
commit ce4578ab17
2 changed files with 21 additions and 40 deletions

View File

@@ -1,29 +1,42 @@
version: '3.8'
services:
nginx:
image: nginx:alpine
container_name: support-nginx
ports:
- "80:80"
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
- frontend_build:/usr/share/nginx/html
depends_on:
- frontend
- backend
frontend:
build:
context: .
dockerfile: docker/frontend/Dockerfile
container_name: support-frontend
ports:
- "80:80"
depends_on:
- backend
volumes:
- frontend_build:/app/dist
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
ports:
- "8000:8000"
expose:
- "8000"
volumes:
sqlite_data:
frontend_build: