Files
eng-bot/docker-compose.yml
Maxim 1786ceaa60 fix: use relative API path for docker deployment
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 18:05:21 +03:00

45 lines
838 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=
container_name: eng-bot-frontend
expose:
- "3000"
environment:
- NUXT_PUBLIC_API_BASE=
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: