c0e6b62708
* Add test for aio * Don't trust the user to have images built for a version * Make travis run the aio test * Add missing values to docker-compose, sort some things, consider the gateway image * today's changes * config changed, again * more fixes * Expose satellite port on localhost:7778 * Add retries and a timeout around the big-testfile test in AIO * Another config value changed * Make this error message a little more useful * Fix nil condition
17 lines
403 B
Bash
Executable File
17 lines
403 B
Bash
Executable File
#!/bin/sh
|
|
set -euo pipefail
|
|
|
|
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
|
|
./storagenode setup
|
|
fi
|
|
|
|
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"
|
|
|
|
export STORJ_IDENTITY_SERVER_ADDRESS="${STORJ_IDENTITY_SERVER_ADDRESS:-$(hostname -i):7777}"
|
|
|
|
if [ -n "${SATELLITE_ADDR:-}" ]; then
|
|
RUN_PARAMS="${RUN_PARAMS} --kademlia.bootstrap-addr $SATELLITE_ADDR"
|
|
fi
|
|
|
|
exec ./storagenode run $RUN_PARAMS "$@"
|