mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
* added --address flags for API port Authored-by: kuksik <nazzar.lito@gmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ is_minio_running() {
|
||||
#########################
|
||||
minio_start_bg() {
|
||||
local -r exec=$(command -v minio)
|
||||
local -a args=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}")
|
||||
local -a args=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}" "--address" ":${MINIO_API_PORT_NUMBER}")
|
||||
local -a nodes
|
||||
|
||||
if is_boolean_yes "$MINIO_DISTRIBUTED_MODE_ENABLED"; then
|
||||
|
||||
@@ -17,7 +17,7 @@ set -o pipefail
|
||||
|
||||
# Constants
|
||||
EXEC=$(command -v minio)
|
||||
ARGS=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}")
|
||||
ARGS=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}" "--address" ":${MINIO_API_PORT_NUMBER}")
|
||||
# Add any extra flags passed to this script
|
||||
ARGS+=("$@")
|
||||
if is_boolean_yes "$MINIO_DISTRIBUTED_MODE_ENABLED"; then
|
||||
|
||||
Reference in New Issue
Block a user