Use other minio as the quay.io is not available #13

Merged
notplants merged 1 commits from c4dt/lasuite-drive:use_other_minio into main 2026-09-28 19:57:11 +00:00
2 changed files with 10 additions and 4 deletions
+5 -4
View File
@@ -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
+5
View File
@@ -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