fase(22): docker production setup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user