mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
41 lines
898 B
YAML
41 lines
898 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/frontend/Dockerfile
|
|
volumes:
|
|
- frontend_build:/usr/share/nginx/html
|
|
|
|
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: ../docker/backend/Dockerfile
|
|
container_name: support-backend
|
|
restart: unless-stopped
|
|
environment:
|
|
- TELEGRAM_BOT_TOKEN=7677506032:AAHB2QtrxKdgUXLWlE2xXaVxs9V7BPz1fhc
|
|
- TELEGRAM_CHAT_ID=5057752127
|
|
volumes:
|
|
- ./backend:/app
|
|
- sqlite_data:/app/instance
|
|
|
|
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_build:/usr/share/nginx/html
|
|
depends_on:
|
|
- frontend
|
|
- backend
|
|
|
|
volumes:
|
|
sqlite_data:
|
|
frontend_build: |