From 0abfad7c4bf01f7efb8f3d22c289e54c40faccfa Mon Sep 17 00:00:00 2001 From: furyhawk Date: Tue, 28 Apr 2026 14:45:21 +0800 Subject: [PATCH] fix: change ports to expose for rustfs service in Docker configuration Co-authored-by: Copilot --- swarm/services.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swarm/services.yml b/swarm/services.yml index e71e720..789fb3e 100644 --- a/swarm/services.yml +++ b/swarm/services.yml @@ -122,9 +122,9 @@ services: - "no-new-privileges:true" image: rustfs/rustfs:latest container_name: rustfs-server - ports: - - "9000:9000" # S3 API port - - "9001:9001" # Console port + expose: + - "9000" # S3 API port + - "9001" # Console port environment: - RUSTFS_VOLUMES=/data/rustfs{0..3} # Define 4 storage volumes - RUSTFS_ADDRESS=0.0.0.0:9000