Files
Autonomous-Bug-Explorer/docker-compose.prod.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

53 lines
958 B
YAML

services:
backend:
build:
context: .
dockerfile: Dockerfile
ports:
- "${PORT:-3001}:3001"
env_file:
- .env.production
environment:
- NODE_ENV=production
volumes:
- abe-data:/app/data
- abe-reports:/app/reports
- abe-logs:/app/logs
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health/live"]
interval: 30s
timeout: 10s
start_period: 30s
retries: 5
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 256m
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
backend:
condition: service_healthy
restart: always
volumes:
abe-data:
driver: local
abe-reports:
driver: local
abe-logs:
driver: local
networks:
default:
name: abe-network
driver: bridge