mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
42 lines
875 B
YAML
42 lines
875 B
YAML
version: '3.8'
|
||
|
||
services:
|
||
frontend:
|
||
build:
|
||
context: .
|
||
dockerfile: docker/frontend/Dockerfile
|
||
container_name: support-frontend
|
||
restart: unless-stopped
|
||
depends_on:
|
||
- backend
|
||
|
||
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:
|
||
- "8081:8000"
|
||
|
||
nginx:
|
||
build:
|
||
context: ./docker/nginx
|
||
dockerfile: Dockerfile
|
||
container_name: support-nginx
|
||
restart: unless-stopped
|
||
ports:
|
||
- "8080:80" # Изменено с 80:80 на 8080:80
|
||
depends_on:
|
||
- frontend
|
||
- backend
|
||
|
||
volumes:
|
||
sqlite_data:
|