Adding default values for env variables use (#13)
This commit is contained in:
parent
ed0c4a0bf1
commit
909bc425fc
|
@ -11,7 +11,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
image: ${NWAKU_IMAGE}
|
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
|
@ -30,12 +30,12 @@ services:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
nwaku:
|
nwaku:
|
||||||
image: ${NWAKU_IMAGE}
|
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
deploy:
|
deploy:
|
||||||
replicas: ${NUM_NWAKU_NODES}
|
replicas: ${NUM_NWAKU_NODES:-5}
|
||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
command:
|
command:
|
||||||
- '/opt/run_nwaku.sh'
|
- '/opt/run_nwaku.sh'
|
||||||
|
@ -47,12 +47,12 @@ services:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
gowaku:
|
gowaku:
|
||||||
image: ${GOWAKU_IMAGE}
|
image: ${GOWAKU_IMAGE:-wakuorg/go-waku:latest}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
deploy:
|
deploy:
|
||||||
replicas: ${NUM_GOWAKU_NODES}
|
replicas: ${NUM_GOWAKU_NODES:-0}
|
||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
command:
|
command:
|
||||||
- '/opt/run_gowaku.sh'
|
- '/opt/run_gowaku.sh'
|
||||||
|
|
|
@ -7,5 +7,6 @@ NUM_GOWAKU_NODES=0
|
||||||
# Simulation traffic.
|
# Simulation traffic.
|
||||||
MSG_PER_SECOND=10
|
MSG_PER_SECOND=10
|
||||||
MSG_SIZE_KBYTES=10
|
MSG_SIZE_KBYTES=10
|
||||||
|
TRAFFIC_DELAY_SECONDS=15
|
||||||
# Enable automatic Docker image updates.
|
# Enable automatic Docker image updates.
|
||||||
WATCHTOWER_ENABLED=true
|
WATCHTOWER_ENABLED=true
|
||||||
|
|
Loading…
Reference in New Issue