Repository navigation
Infra: Standardize RustFS setup across Iceberg repos #4017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,27 +62,24 @@ services: | |
| - CATALOG_S3_ENDPOINT=http://object-store:9000 | ||
| - CATALOG_JDBC_STRICT__MODE=true | ||
| object-store: | ||
| image: rustfs/rustfs:1.0.0 | ||
| image: rustfs/rustfs:1.0.3 | ||
| container_name: pyiceberg-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 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. show logs in CI |
||
| - RUSTFS_CONSOLE_ENABLE=false | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removes console port 9001, we dont need it |
||
| # 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"] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The RustFS Status Check docs define the two endpoints differently:
|
||
| interval: 5s | ||
| timeout: 5s | ||
| retries: 10 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are all defaults, can remove