fix: update RUSTFS_ACCESS_KEY and RUSTFS_SECRET_KEY to use environment variables

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-28 15:04:57 +08:00
parent e8bcbe8dd2
commit f7deab4509
+2 -2
View File
@@ -132,8 +132,8 @@ services:
- RUSTFS_CONSOLE_ENABLE=true
- RUSTFS_CORS_ALLOWED_ORIGINS=*
- RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS=*
- RUSTFS_ACCESS_KEY=rustfsadmin
- RUSTFS_SECRET_KEY=rustfsadmin
- RUSTFS_ACCESS_KEY=${POSTGRES_USER}
- RUSTFS_SECRET_KEY=${POSTGRES_PASSWORD}
- RUSTFS_OBS_LOGGER_LEVEL=info
- RUSTFS_UNSAFE_BYPASS_DISK_CHECK=${RUSTFS_UNSAFE_BYPASS_DISK_CHECK:-true}
# - RUSTFS_TLS_PATH=/opt/tls