diff --git a/docker-compose.yml b/docker-compose.yml index b991972..c4734e7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 +