Set --status-addr for metrics by default
This commit is contained in:
1 parent
a1a42736ed
commit
af10cef5f0
2 files changed
+5
-1
No files matched your search
@@ -5,6 +5,7 @@ set -e
|
||||
# Default if not supplied - same as weave net default
|
||||
IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
|
||||
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
|
||||
STATUS_ADDR=${WEAVE_STATUS_ADDR:-0.0.0.0:6782}
|
||||
|
||||
# Default for network policy
|
||||
EXPECT_NPC=${EXPECT_NPC:-1}
|
||||
@@ -86,7 +87,7 @@ if [ -z "$IPALLOC_INIT" ]; then
|
||||
fi
|
||||
|
||||
/home/weave/weaver --port=6783 $BRIDGE_OPTIONS \
|
||||
--http-addr=$HTTP_ADDR --docker-api='' --no-dns \
|
||||
--http-addr=$HTTP_ADDR --status-addr=$STATUS_ADDR --docker-api='' --no-dns \
|
||||
--ipalloc-range=$IPALLOC_RANGE $NICKNAME_ARG \
|
||||
--ipalloc-init $IPALLOC_INIT \
|
||||
--name=$(cat /sys/class/net/weave/address) "$@" \
|
||||
|
||||
Reference in new issue
Block a user