diff --git a/docker-compose.yml b/docker-compose.yml index 4b4383d..c7ae4f4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,8 +10,8 @@ services: - "8080:80" restart: unless-stopped healthcheck: - test: ["CMD", "wget", "--spider", "--quiet", "http://localhost/"] + test: ["CMD-SHELL", "wget --spider --quiet http://127.0.0.1:80/ || exit 1"] interval: 30s timeout: 10s retries: 3 - start_period: 5s + start_period: 20s