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: