fase(22): docker production setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
debian
2026-03-08 06:08:18 -04:00
parent 30f293fbf8
commit ddb4f66036
6 changed files with 139 additions and 32 deletions

View File

@@ -9,16 +9,17 @@ services:
- .env
environment:
- PORT=3001
- NODE_ENV=production
volumes:
- ./reports:/app/reports
- ./logs:/app/logs
- ./data:/app/data
- abe-data:/app/data
- abe-reports:/app/reports
- abe-logs:/app/logs
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
test: ["CMD", "curl", "-f", "http://localhost:3001/health/live"]
interval: 30s
timeout: 10s
start_period: 5s
start_period: 15s
retries: 3
frontend:
@@ -32,6 +33,11 @@ services:
condition: service_healthy
restart: unless-stopped
volumes:
abe-data:
abe-reports:
abe-logs:
networks:
default:
name: abe-network