fix(compose): set log directory and wait for permission helper (#5646)
* Update docker-compose-simple.yml Added RUSTFS_OBS_LOG_DIRECTORY=/app/logs in docker-compose-simple.yml Signed-off-by: lqb <[email protected]> * Added missing dependency to volume-permission-helper Signed-off-by: lqb <[email protected]> --------- Signed-off-by: lqb <[email protected]> Co-authored-by: houseme <[email protected]> Co-authored-by: cxymds <[email protected]>
This commit is contained in:
@@ -17,6 +17,8 @@ services:
|
||||
rustfs:
|
||||
image: rustfs/rustfs:latest
|
||||
container_name: rustfs-server
|
||||
depends_on:
|
||||
- volume-permission-helper
|
||||
security_opt:
|
||||
- "no-new-privileges:true"
|
||||
ports:
|
||||
@@ -31,6 +33,7 @@ services:
|
||||
- RUSTFS_ACCESS_KEY=rustfsadmin # CHANGEME
|
||||
- RUSTFS_SECRET_KEY=rustfsadmin # CHANGEME
|
||||
- RUSTFS_OBS_LOGGER_LEVEL=info
|
||||
- RUSTFS_OBS_LOG_DIRECTORY=/app/logs
|
||||
# Optional TLS:
|
||||
# - mount your cert directory to /opt/tls
|
||||
# - set RUSTFS_TLS_PATH=/opt/tls
|
||||
|
||||
Reference in New Issue
Block a user