From 68f4b2616af2460da83c0def2675ad957480132f Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Thu, 24 Sep 2026 20:36:20 -0700 Subject: [PATCH] Dev: Use RustFS readiness healthcheck and drop default settings Use /health/ready so bucket creation waits for storage/IAM readiness, enable stdout logging so `docker logs` shows output, and remove settings that are already defaults in rustfs/rustfs:1.0.0. Generated-by: GitHub Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- dev/docker-compose-integration.yml | 7 ++----- dev/docker-compose.yml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/dev/docker-compose-integration.yml b/dev/docker-compose-integration.yml index 9653cf5e6c..16db949748 100644 --- a/dev/docker-compose-integration.yml +++ b/dev/docker-compose-integration.yml @@ -74,15 +74,12 @@ services: environment: - RUSTFS_ACCESS_KEY=admin - RUSTFS_SECRET_KEY=password - - RUSTFS_VOLUMES=/data - - RUSTFS_ADDRESS=:9000 - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_CONSOLE_ADDRESS=:9001 + - RUSTFS_OBS_LOG_STDOUT_ENABLED=true # Resolves virtual-hosted-style `warehouse.object-store` to the warehouse # bucket. - RUSTFS_SERVER_DOMAINS=object-store healthcheck: - test: ["CMD-SHELL", "curl --fail http://127.0.0.1:9000/health"] + test: ["CMD-SHELL", "curl --fail http://127.0.0.1:9000/health/ready"] interval: 5s timeout: 5s retries: 10 diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index 169a5d22cd..d3e4cc1884 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -25,12 +25,9 @@ services: environment: - RUSTFS_ACCESS_KEY=admin - RUSTFS_SECRET_KEY=password - - RUSTFS_VOLUMES=/data - - RUSTFS_ADDRESS=:9000 - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_CONSOLE_ADDRESS=:9001 + - RUSTFS_OBS_LOG_STDOUT_ENABLED=true healthcheck: - test: ["CMD-SHELL", "curl --fail http://127.0.0.1:9000/health"] + test: ["CMD-SHELL", "curl --fail http://127.0.0.1:9000/health/ready"] interval: 5s timeout: 5s retries: 10