Files
eng-bot/docker-compose.yml
2025-12-12 21:06:17 +03:00

45 lines
880 B
YAML

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: eng-bot-backend
volumes:
- backend-data:/app/data
expose:
- "8000"
environment:
- DEBUG=False
- DATA_DIR=/app/data
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
- NUXT_PUBLIC_API_BASE=http://localhost:3001
container_name: eng-bot-frontend
expose:
- "3000"
environment:
- NUXT_PUBLIC_API_BASE=http://localhost:3001
depends_on:
- backend
restart: unless-stopped
nginx:
image: nginx:alpine
container_name: eng-bot-nginx
ports:
- "3001:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- frontend
- backend
restart: unless-stopped
volumes:
backend-data: