fix: comment out rustfs_perms service and update volume paths for rustfs service

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-28 14:56:19 +08:00
parent 433d6bf70b
commit 909c7ebaa1
+15 -12
View File
@@ -110,13 +110,13 @@ services:
# - traefik.http.services.minio_api_service.loadbalancer.server.port=9000 # - traefik.http.services.minio_api_service.loadbalancer.server.port=9000
# grant the necessary permissions to RUSTFS volumes path # grant the necessary permissions to RUSTFS volumes path
rustfs_perms: # rustfs_perms:
image: alpine # image: alpine
user: root # user: root
volumes: # volumes:
- /var/data/rustfs:/fix_path # - /var/data/rustfs:/fix_path
command: chown -R 10001:10001 /fix_path # command: chown -R 10001:10001 /fix_path
# RustFS main service # # RustFS main service
rustfs: rustfs:
security_opt: security_opt:
- "no-new-privileges:true" - "no-new-privileges:true"
@@ -139,9 +139,9 @@ services:
# - RUSTFS_TLS_PATH=/opt/tls # - RUSTFS_TLS_PATH=/opt/tls
# - RUSTFS_OBS_ENDPOINT=http://otel-collector:4318 # - RUSTFS_OBS_ENDPOINT=http://otel-collector:4318
volumes: volumes:
- /var/data/rustfs/pro:/data - rustfs_data:/data
- /var/data/rustfs/logs:/app/logs - rustfs_logs:/app/logs
# - /var/data/rustfs/certs/:/opt/tls # TLS configuration, you should create tls directory and put your tls files in it and then specify the path here # - rustfs_certs:/opt/tls # TLS configuration, you should create tls directory and put your tls files in it and then specify the path here
networks: networks:
- traefik-public - traefik-public
restart: unless-stopped restart: unless-stopped
@@ -157,7 +157,7 @@ services:
retries: 3 retries: 3
start_period: 40s start_period: 40s
depends_on: depends_on:
- rustfs_perms # - rustfs_perms
# otel-collector: # otel-collector:
# condition: service_started # condition: service_started
# required: false # required: false
@@ -272,9 +272,12 @@ services:
- traefik.http.services.whoami-svc.loadbalancer.server.port=80 - traefik.http.services.whoami-svc.loadbalancer.server.port=80
volumes: volumes:
minio_data: {} # minio_data: {}
# neo4j_data: {} # neo4j_data: {}
# neo4j_logs: {} # neo4j_logs: {}
rustfs_data: {}
rustfs_logs: {}
# rustfs_certs: {}
postgres_data: {} postgres_data: {}
networks: networks:
net: net: