-
Notifications
You must be signed in to change notification settings - Fork 455
Description
I have 4 machines all connected to the public network and using the same dockercompose. Unable to set up cluster.
services:
rustfs:
image: rustfs/rustfs:latest
container_name: rustfs
hostname: rustfs
ports:
- "9000:9000" # Port S3 exposed externally
extra_hosts:
- "rustfs1:137.132.1.1"
- "rustfs2:129.143.1.1"
- "rustfs3:129.142.1.1"
- "rustfs4:161.155.1.1"
volumes:
- rustfs_data1:/data
- ./rustfs_logs1:/logs
environment:
- RUSTFS_ACCESS_KEY=admin
- RUSTFS_SECRET_KEY=admin
- RUSTFS_ADDRESS=0.0.0.0:9000
- RUSTFS_CONSOLE_ENABLE=true
- RUSTFS_VOLUMES=http://rustfs{1...4}:9000/data
network_mode: bridge
volumes:
rustfs_data1:
`ERROR
[2025-10-14 09:31:34.746383 +00:00] WARN [rustfs] [rustfs/src/main.rs:200] [main:ThreadId(1)] WARNING: Host local has more than 0 drives of set. A host failure will result in data becoming unavailable.
[2025-10-14 09:31:34.746720 +00:00] WARN [rustfs] [rustfs/src/main.rs:253] [main:ThreadId(1)] Starting console server on address: '0.0.0.0', port: '9000'
[2025-10-14 09:31:34.750392 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
[2025-10-14 09:31:36.752999 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
[2025-10-14 09:31:40.755207 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
[2025-10-14 09:31:48.760673 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
[2025-10-14 09:32:04.763005 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
[2025-10-14 09:32:20.765596 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
[2025-10-14 09:32:36.768020 +00:00] WARN [rustfs_ecstore::store_init] [crates/ecstore/src/store_init.rs:174] [main:ThreadId(1)] get_format_erasure_in_quorum fi: [None, None, None, None]
`
The explicit endpoints mentioned here will also not work.
"use path style endpoint for single node setup"
https://github.com/rustfs/rustfs/blob/9e1739ed8d1a66e97355cd445afa0f69a87a557c/docs/examples/mnmd/docker-compose.yml
Using this configuration, multiple docker builds on a single machine can be successful. But this is not what I want. I have 20+ servers that need to be linked into a public cluster.