fix: change ports to expose for rustfs service in Docker configuration

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
furyhawk
2026-04-28 14:45:21 +08:00
parent 96edc58a2a
commit 0abfad7c4b
+3 -3
View File
@@ -122,9 +122,9 @@ services:
- "no-new-privileges:true" - "no-new-privileges:true"
image: rustfs/rustfs:latest image: rustfs/rustfs:latest
container_name: rustfs-server container_name: rustfs-server
ports: expose:
- "9000:9000" # S3 API port - "9000" # S3 API port
- "9001:9001" # Console port - "9001" # Console port
environment: environment:
- RUSTFS_VOLUMES=/data/rustfs{0..3} # Define 4 storage volumes - RUSTFS_VOLUMES=/data/rustfs{0..3} # Define 4 storage volumes
- RUSTFS_ADDRESS=0.0.0.0:9000 - RUSTFS_ADDRESS=0.0.0.0:9000