Minio: healthcheck

This commit is contained in:
2023-03-05 07:28:54 +01:00
parent 71b4075590
commit 58b56dc397
4 changed files with 102 additions and 4 deletions

View File

@ -26,6 +26,11 @@ services:
- "traefik.http.services.minio-dashboard.loadbalancer.server.port=9001"
- "traefik.http.routers.minio-dashboard.service=minio-dashboard"
command: "server /data --console-address ':9001' --anonymous"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
networks: