storj/cmd/multinode/entrypoint
Stefan Benten f89e030c3f final touches
Change-Id: I8fcc986f71f592507dc3f35ce4352647da46d461
2022-02-21 13:08:48 +02:00

13 lines
337 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
if [[ ! -f "/app/config/config.yaml" ]]; then
./multinode setup --config-dir config --identity-dir identity
fi
RUN_PARAMS="${RUN_PARAMS:-} --config-dir config"
RUN_PARAMS="${RUN_PARAMS:-} --identity-dir identity"
RUN_PARAMS="${RUN_PARAMS:-} --console.address=:15002"
exec ./multinode run $RUN_PARAMS "$@"