fixing entrypoint script looking for invalid flag (#1147)
* fixing entrypoint script looking for invalid flag * fixed other entrypoints * removed ca_difficulty entries from compose.yaml
This commit is contained in:
parent
2b20acbec9
commit
2dbc06f7e1
@ -2,9 +2,6 @@
|
||||
set -euo pipefail
|
||||
|
||||
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
|
||||
if [[ -n "${CA_DIFFICULTY:-}" ]]; then
|
||||
SETUP_PARAMS="--ca.difficulty ${CA_DIFFICULTY}"
|
||||
fi
|
||||
./gateway setup
|
||||
fi
|
||||
|
||||
|
@ -26,9 +26,6 @@ if [[ -n "${BOOTSTRAP_ADDR:-}" ]]; then
|
||||
fi
|
||||
|
||||
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
|
||||
if [[ -n "${CA_DIFFICULTY:-}" ]]; then
|
||||
SETUP_PARAMS="--ca.difficulty ${CA_DIFFICULTY}"
|
||||
fi
|
||||
./satellite setup $SETUP_PARAMS
|
||||
fi
|
||||
|
||||
|
@ -2,9 +2,6 @@
|
||||
set -euo pipefail
|
||||
|
||||
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
|
||||
if [[ -n "${CA_DIFFICULTY:-}" ]]; then
|
||||
SETUP_PARAMS="--ca.difficulty ${CA_DIFFICULTY}"
|
||||
fi
|
||||
./storagenode setup
|
||||
fi
|
||||
|
||||
|
@ -18,7 +18,6 @@ services:
|
||||
satellite:
|
||||
image: storjlabs/satellite:${VERSION:-latest}
|
||||
environment:
|
||||
- CA_DIFFICULTY=4
|
||||
- API_KEY=abc123
|
||||
- BOOTSTRAP_ADDR=localhost:8080
|
||||
- STORJ_CHECKER_QUEUE_ADDRESS=redis://redis:6379/?db=0
|
||||
@ -38,7 +37,6 @@ services:
|
||||
storagenode:
|
||||
image: storjlabs/storagenode:${VERSION:-latest}
|
||||
environment:
|
||||
- CA_DIFFICULTY=4
|
||||
- SATELLITE_ADDR=satellite:7777
|
||||
- STORJ_KADEMLIA_EXTERNAL_ADDRESS=storagenode:7777
|
||||
- STORJ_KADEMLIA_OPERATOR_EMAIL=hello@storj.io
|
||||
@ -51,7 +49,6 @@ services:
|
||||
image: storjlabs/gateway:${VERSION:-latest}
|
||||
command: --rs.min-threshold 1 --rs.max-threshold 1 --rs.repair-threshold 1 --rs.success-threshold 1
|
||||
environment:
|
||||
- CA_DIFFICULTY=4
|
||||
- API_KEY=abc123
|
||||
- SATELLITE_ADDR=satellite:7777
|
||||
- STORJ_LOG_LEVEL=debug
|
||||
|
Loading…
Reference in New Issue
Block a user