We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebabfc2 commit c56c846Copy full SHA for c56c846
1 file changed
docker-compose.yml
@@ -8,3 +8,9 @@ services:
8
ipc: host
9
environment:
10
- NODE_ENV=production
11
+ healthcheck:
12
+ test: ["CMD", "bun", "-e", "fetch('http://localhost:8081/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
13
+ interval: 30s
14
+ timeout: 10s
15
+ retries: 3
16
+ start_period: 30s
0 commit comments