intra_monitor/docker-compose.yml
dv 159e23dccf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix vibe 1
2026-03-18 17:04:16 +03:00

19 lines
568 B
YAML

services:
intradesk-monitor:
image: ${IMAGE_NAME}:latest
restart: always
env_file: .env
ports:
- "${APP_PORT:-3000}:3000"
volumes:
- ./data:/data
environment:
NODE_ENV: production
PORT: 3000
DB_PATH: /data/intradesk.db
healthcheck:
test: ["CMD", "node", "-e", "const http=require('http');const req=http.get('http://127.0.0.1:3000/healthz',res=>process.exit(res.statusCode===200?0:1));req.on('error',()=>process.exit(1));"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s