configs/nym: fix entrypoint and host-side binary download for build
Drop unsupported --no-banner; COPY pre-fetched nym-node; ignore binary/env/data.
This commit is contained in:
parent
4775d106cd
commit
798d8aaf51
4 changed files with 21 additions and 25 deletions
|
|
@ -15,7 +15,7 @@ VERLOC_BIND="${NYMNODE_VERLOC_BIND_ADDRESS:-[::]:1790}"
|
|||
ENTRY_BIND="${NYMNODE_ENTRY_BIND_ADDRESS:-[::]:9000}"
|
||||
ACCEPT_TC="${NYMNODE_ACCEPT_OPERATOR_TERMS:-true}"
|
||||
|
||||
ARGS=(run --id "$ID" --mode "$MODE" --no-banner)
|
||||
ARGS=(run --id "$ID" --mode "$MODE")
|
||||
ARGS+=(--http-bind-address "$HTTP_BIND")
|
||||
ARGS+=(--mixnet-bind-address "$MIX_BIND")
|
||||
ARGS+=(--verloc-bind-address "$VERLOC_BIND")
|
||||
|
|
@ -32,14 +32,12 @@ if [ -n "$HOSTNAME_OPT" ]; then
|
|||
fi
|
||||
if [ "$WG" = "true" ] || [ "$WG" = "1" ]; then
|
||||
ARGS+=(--wireguard-enabled true)
|
||||
# containers often lack kernel WG
|
||||
ARGS+=(--wireguard-userspace true)
|
||||
fi
|
||||
if [ "$ACCEPT_TC" = "true" ] || [ "$ACCEPT_TC" = "1" ]; then
|
||||
ARGS+=(--accept-operator-terms-and-conditions)
|
||||
fi
|
||||
|
||||
# Extra flags from operator (space-separated)
|
||||
if [ -n "${NYMNODE_EXTRA_ARGS:-}" ]; then
|
||||
# shellcheck disable=SC2206
|
||||
EXTRA=( $NYMNODE_EXTRA_ARGS )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue