This is an automated email from the ASF dual-hosted git repository.

zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/terraform-provider-iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new 8566fb2  Standardize RustFS setup across Iceberg repos (#126)
8566fb2 is described below

commit 8566fb2fdbc9a074a4f519f54e190db7535cd5fd
Author: Kevin Liu <[email protected]>
AuthorDate: Tue Oct 20 12:44:05 2026 -0700

    Standardize RustFS setup across Iceberg repos (#126)
    
    * Align RustFS setup with canonical 1.0.0 config
    
    Use the /health/ready readiness endpoint for the object-store
    healthcheck so bucket creation doesn't race storage/IAM startup, enable
    RUSTFS_OBS_LOG_STDOUT_ENABLED so `docker logs` shows output, and drop
    settings that are already image/binary defaults in RustFS 1.0.0
    (RUSTFS_VOLUMES, RUSTFS_ADDRESS, RUSTFS_CONSOLE_ENABLE,
    RUSTFS_CONSOLE_ADDRESS).
    
    Generated-by: GitHub Copilot
    Co-authored-by: Copilot App <[email protected]>
    
    * Bump RustFS to 1.0.3 and disable the console
    
    Bump rustfs/rustfs to 1.0.3, the latest stable release, set
    RUSTFS_CONSOLE_ENABLE=false, and stop publishing port 9001 since nothing
    uses the web console. This matches the RustFS setup used across the
    other Iceberg repos.
    
    Generated-by: GitHub Copilot
    Co-authored-by: Copilot App <[email protected]>
    
    ---------
    
    Co-authored-by: Copilot App <[email protected]>
---
 dev/docker-compose.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml
index d4384ab..98bccbc 100644
--- a/dev/docker-compose.yml
+++ b/dev/docker-compose.yml
@@ -33,26 +33,23 @@ services:
         condition: service_completed_successfully
 
   object-store:
-    image: rustfs/rustfs:1.0.0
+    image: rustfs/rustfs:1.0.3
     container_name: iceberg-terraform-object-store
     networks:
       iceberg_net:
         aliases:
           - warehouse.object-store
     ports:
-      - 9001:9001
       - 9000:9000
     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
+      - RUSTFS_CONSOLE_ENABLE=false
       # 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

Reply via email to