Compare commits

...
2 changed files with 11 additions and 5 deletions
+6 -5
View File
@@ -110,7 +110,7 @@ services:
labels: labels:
- "traefik.enable=false" - "traefik.enable=false"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=0.4.1+v5.6.1" - "coop-cloud.${STACK_NAME}.version=0.4.2+v5.6.1"
user: "${DOCKER_USER:-1000}" user: "${DOCKER_USER:-1000}"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"] test: ["CMD", "curl", "-f", "http://localhost:8080"]
@@ -253,7 +253,8 @@ services:
- backend - backend
minio: minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z image: bitnamilegacy/minio:2025.7.23-debian-12-r5
user: root
environment: *minio-env environment: *minio-env
healthcheck: healthcheck:
test: ["CMD", "mc", "ready", "local"] test: ["CMD", "mc", "ready", "local"]
@@ -262,11 +263,11 @@ services:
retries: 300 retries: 300
networks: networks:
- backend - backend
command: minio server /data command: /opt/bitnami/scripts/minio/run.sh
entrypoint: > entrypoint: >
sh -c "/minio-initialize.sh & exec /usr/bin/docker-entrypoint.sh \"$$@\"" -- sh -c "/minio-initialize.sh & exec /opt/bitnami/scripts/minio/entrypoint.sh \"$$@\"" --
volumes: volumes:
- minio:/data - minio:/bitnami/minio/data
deploy: deploy:
labels: labels:
backupbot.backup: "${ENABLE_BACKUPS:-true}" backupbot.backup: "${ENABLE_BACKUPS:-true}"
+5
View File
@@ -1,6 +1,11 @@
#!/bin/sh #!/bin/sh
set -e set -e
# Use an isolated mc config dir: the bundled Bitnami image runs its own
# internal mc client (as the "minio" user) against the default /.mc path,
# which collides with this script running as root against the same path.
export MC_CONFIG_DIR=/tmp/mc-docs-init
# Wait for minio to be ready (up to 60 seconds) # Wait for minio to be ready (up to 60 seconds)
i=0 i=0
while ! mc ready local 2>/dev/null; do while ! mc ready local 2>/dev/null; do