Files
Autonomous-Bug-Explorer/docker-compose.yml
debian ddb4f66036 fase(22): docker production setup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 06:08:18 -04:00

44 lines
790 B
YAML

services:
backend:
build:
context: .
dockerfile: Dockerfile
ports:
- "3001:3001"
env_file:
- .env
environment:
- PORT=3001
- NODE_ENV=production
volumes:
- abe-data:/app/data
- abe-reports:/app/reports
- abe-logs:/app/logs
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health/live"]
interval: 30s
timeout: 10s
start_period: 15s
retries: 3
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "5173:80"
depends_on:
backend:
condition: service_healthy
restart: unless-stopped
volumes:
abe-data:
abe-reports:
abe-logs:
networks:
default:
name: abe-network