feat: added health checks and restart always
This commit is contained in:
parent
6ac3301800
commit
3083b26a13
@ -2,9 +2,17 @@ version: '3'
|
||||
services:
|
||||
bitebuds:
|
||||
image: docker.io/kasperhermansen/bitebuds:1680553012
|
||||
restart: always
|
||||
environment:
|
||||
- RUST_LOG=debug
|
||||
ports:
|
||||
- 10080:3000
|
||||
volumes:
|
||||
- ./.ssh:/root/.ssh
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||
interval: 1m30s
|
||||
timeout: 30s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user