mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 05:06:28 +00:00
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 <lqb@users.noreply.github.com> * Added missing dependency to volume-permission-helper Signed-off-by: lqb <lqb@users.noreply.github.com> --------- Signed-off-by: lqb <lqb@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com> Co-authored-by: cxymds <cxymds@gmail.com>
This commit is contained in:
@@ -17,6 +17,8 @@ services:
|
|||||||
rustfs:
|
rustfs:
|
||||||
image: rustfs/rustfs:latest
|
image: rustfs/rustfs:latest
|
||||||
container_name: rustfs-server
|
container_name: rustfs-server
|
||||||
|
depends_on:
|
||||||
|
- volume-permission-helper
|
||||||
security_opt:
|
security_opt:
|
||||||
- "no-new-privileges:true"
|
- "no-new-privileges:true"
|
||||||
ports:
|
ports:
|
||||||
@@ -31,6 +33,7 @@ services:
|
|||||||
- RUSTFS_ACCESS_KEY=rustfsadmin # CHANGEME
|
- RUSTFS_ACCESS_KEY=rustfsadmin # CHANGEME
|
||||||
- RUSTFS_SECRET_KEY=rustfsadmin # CHANGEME
|
- RUSTFS_SECRET_KEY=rustfsadmin # CHANGEME
|
||||||
- RUSTFS_OBS_LOGGER_LEVEL=info
|
- RUSTFS_OBS_LOGGER_LEVEL=info
|
||||||
|
- RUSTFS_OBS_LOG_DIRECTORY=/app/logs
|
||||||
# Optional TLS:
|
# Optional TLS:
|
||||||
# - mount your cert directory to /opt/tls
|
# - mount your cert directory to /opt/tls
|
||||||
# - set RUSTFS_TLS_PATH=/opt/tls
|
# - set RUSTFS_TLS_PATH=/opt/tls
|
||||||
|
|||||||
Reference in New Issue
Block a user