cmd/gateway: Fix entrypoint setup command
Fix the setup command of the entrypoint script used by the gateway docker container. Issue: https://github.com/storj/storj/issues/3748#issuecomment-574257152 Change-Id: I94c4d7aa148761645dd065f86b7d8e2d72bb727c
This commit is contained in:
parent
64fb2d3d2f
commit
f9b2af934b
@ -2,7 +2,7 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
|
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
|
||||||
./gateway setup
|
./gateway setup --config-dir "${CONF_PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"
|
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user