From 782e3f096531cd409e86b78724934211ab07e36d Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Mon, 28 Sep 2026 16:58:47 +0200 Subject: [PATCH] Use other minio as the quay.io is not available --- compose.yml | 9 +++++---- minio-initialize.sh | 5 +++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index 0f8974c..67283c4 100644 --- a/compose.yml +++ b/compose.yml @@ -229,7 +229,8 @@ services: - backend minio: - image: quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z + image: bitnamilegacy/minio:2025.7.23-debian-12-r5 + user: root environment: *minio-env healthcheck: test: ["CMD", "mc", "ready", "local"] @@ -239,11 +240,11 @@ services: networks: - backend - proxy - command: minio server /data + command: /opt/bitnami/scripts/minio/run.sh 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: - - minio:/data + - minio:/bitnami/minio/data configs: - source: abra_entrypoint target: /abra-entrypoint.sh diff --git a/minio-initialize.sh b/minio-initialize.sh index cb36278..d1242a6 100644 --- a/minio-initialize.sh +++ b/minio-initialize.sh @@ -1,6 +1,11 @@ #!/bin/sh 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-drive-init + # Wait for minio to be ready (up to 60 seconds) i=0 while ! mc ready local 2>/dev/null; do