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:
Timothy Adams 2019-01-28 07:53:16 -05:00 committed by GitHub
parent 2b20acbec9
commit 2dbc06f7e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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