From 29b35c2a22049df044a1684d5530df4e93ba571f Mon Sep 17 00:00:00 2001 From: Elias Fink Date: Tue, 1 Jul 2025 18:39:34 +0200 Subject: [PATCH] Add portainer healthcheck --- portainer/compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/portainer/compose.yml b/portainer/compose.yml index 2f09f79..f52fd5b 100644 --- a/portainer/compose.yml +++ b/portainer/compose.yml @@ -5,6 +5,11 @@ services: image: portainer/portainer-ce:lts container_name: portainer restart: always + healthcheck: + test: curl -f http://localhost:9000/api/status || exit 1 + interval: 30s + timeout: 10s + retries: 3 networks: - traefik volumes: