forked from coop-cloud/minio
update image, add healtheck recommended by minio
This commit is contained in:
parent
ec84874315
commit
4e202ba7d5
13
compose.yml
13
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: minio/minio:RELEASE.2022-10-24T18-35-07Z
|
||||
image: minio/minio:RELEASE.2025-02-07T23-21-09Z
|
||||
volumes:
|
||||
- minio-data:/export
|
||||
networks:
|
||||
@ -34,12 +34,12 @@ services:
|
||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+RELEASE.2022-10-24T18-35-07Z"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+RELEASE.2025-02-07T23-21-09Z"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
||||
interval: 30s
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
test: [ "CMD", "mc", "ready", "local" ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
@ -48,6 +48,7 @@ networks:
|
||||
volumes:
|
||||
minio-data:
|
||||
|
||||
|
||||
secrets:
|
||||
secret_key:
|
||||
external: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user