Add portainer healthcheck

This commit is contained in:
2025-07-01 18:39:34 +02:00
parent d89da82b69
commit 29b35c2a22

View File

@@ -5,6 +5,11 @@ services:
image: portainer/portainer-ce:lts image: portainer/portainer-ce:lts
container_name: portainer container_name: portainer
restart: always restart: always
healthcheck:
test: curl -f http://localhost:9000/api/status || exit 1
interval: 30s
timeout: 10s
retries: 3
networks: networks:
- traefik - traefik
volumes: volumes: