[bitnami/minio] fix data_dir not effective in minio snsd mode (#39731)

[bitnami/minio] fix #39426

Signed-off-by: mahaojing <mahaojing@corp.netease.com>
Co-authored-by: mahaojing <mahaojing@corp.netease.com>
Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Robiiin
2023-07-21 22:13:38 +08:00
committed by GitHub
parent 1825a4c38b
commit 17b544082f

View File

@@ -60,7 +60,7 @@ export MINIO_CERTS_DIR="/certs"
export MINIO_LOGS_DIR="${MINIO_BASE_DIR}/log"
export MINIO_TMP_DIR="${MINIO_BASE_DIR}/tmp"
export MINIO_SECRETS_DIR="${MINIO_BASE_DIR}/secrets"
export MINIO_DATA_DIR="/data"
export MINIO_DATA_DIR="${MINIO_DATA_DIR:-/data}"
export MINIO_LOG_FILE="${MINIO_LOGS_DIR}/minio.log"
export MINIO_PID_FILE="${MINIO_TMP_DIR}/minio.pid"
export PATH="${MINIO_BIN_DIR}:${PATH}"