diff --git a/deploy/compose.yaml b/deploy/compose.yaml index 68834ac..e7a60ec 100644 --- a/deploy/compose.yaml +++ b/deploy/compose.yaml @@ -8,6 +8,12 @@ services: image: frontpage:latest pull_policy: never restart: unless-stopped + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1/"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s expose: - "80" labels: