From 7d7d4e229bc7d9b06396fff5b9dcd1025ca315f5 Mon Sep 17 00:00:00 2001 From: Kirill Shklyaev Date: Sun, 13 Sep 2026 20:25:47 +0300 Subject: [PATCH] fix: switch MinIO images to quay.io and drop unused external port vars The minio/minio and minio/mc images on Docker Hub are no longer available, causing docker compose to fail. Use quay.io/minio images instead and bump MINIO_VERSION to RELEASE.2025-09-07T16-13-09Z.hotfix.7aa24e772. Also remove the unused EXTERNAL_MINIO_PORT/EXTERNAL_MINIO_WEB_PORT variables and the MinIO console port mapping. --- .env.example | 3 +-- docker-compose.yml | 6 ++---- tests/run.d/setMinioPort.sh | 2 -- tests/variables | 2 -- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.env.example b/.env.example index 49d1df8..0d1c20c 100644 --- a/.env.example +++ b/.env.example @@ -16,7 +16,7 @@ ANYTYPE_CLI_VERSION=latest MONGO_VERSION=7.0.28 REDIS_VERSION=7.2.0-v6 -MINIO_VERSION=RELEASE.2024-07-04T14-25-45Z +MINIO_VERSION=RELEASE.2025-09-07T16-13-09Z.hotfix.7aa24e772 # ----------------------------------------------------------------------------- @@ -141,7 +141,6 @@ AWS_SECRET_ACCESS_KEY=minio_secret_key MINIO_BUCKET=minio-bucket MINIO_PORT=9000 -EXTERNAL_MINIO_PORT=${MINIO_PORT} MINIO_WEB_PORT=9001 diff --git a/docker-compose.yml b/docker-compose.yml index 6bb0170..6867662 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -58,7 +58,7 @@ services: - "127.0.0.1:${REDIS_PORT}:${REDIS_PORT}" minio: - image: "minio/minio:${MINIO_VERSION}" + image: "quay.io/minio/minio:${MINIO_VERSION}" restart: unless-stopped command: ["server", "/data", "--console-address", ":${MINIO_WEB_PORT}", "--address", ":${MINIO_PORT}"] environment: @@ -75,12 +75,10 @@ services: default: aliases: - "${MINIO_BUCKET}.minio" # . - ports: - - "127.0.0.1:${EXTERNAL_MINIO_WEB_PORT}:${MINIO_WEB_PORT}" create-bucket: restart: "no" - image: minio/mc:latest + image: quay.io/minio/mc:latest depends_on: - minio entrypoint: > diff --git a/tests/run.d/setMinioPort.sh b/tests/run.d/setMinioPort.sh index 15e9be7..007a13c 100644 --- a/tests/run.d/setMinioPort.sh +++ b/tests/run.d/setMinioPort.sh @@ -1,7 +1,5 @@ # Writes Minio port configurations to .env.override cat < $PROJECT_DIR/.env.override MINIO_PORT=$MINIO_PORT -EXTERNAL_MINIO_PORT=$EXTERNAL_MINIO_PORT MINIO_WEB_PORT=$MINIO_WEB_PORT -EXTERNAL_MINIO_WEB_PORT=$EXTERNAL_MINIO_WEB_PORT EOF diff --git a/tests/variables b/tests/variables index adff824..e72ec81 100644 --- a/tests/variables +++ b/tests/variables @@ -13,6 +13,4 @@ ANY_SYNC_COORDINATOR_VERSION=("v0.4.2" "prod" "stage1") ANY_SYNC_CONSENSUSNODE_VERSION=("v0.2.0" "prod" "stage1") MINIO_PORT=2000 -EXTERNAL_MINIO_PORT=2001 MINIO_WEB_PORT=3000 -EXTERNAL_MINIO_WEB_PORT=3001