mirror of
https://github.com/waku-org/waku-simulator.git
synced 2025-02-28 23:40:35 +00:00
docker-compose: add watchtower label and variable
This is used in our infra to allow auto-updates of Docker images. For more info see: https://github.com/containrrr/watchtower Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
220781db3b
commit
17d22805b7
@ -14,6 +14,8 @@ services:
|
|||||||
bootstrap:
|
bootstrap:
|
||||||
image: ${NWAKU_IMAGE}
|
image: ${NWAKU_IMAGE}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
# TODO: expose some ports to inject traffic
|
# TODO: expose some ports to inject traffic
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:60000:60000
|
- 127.0.0.1:60000:60000
|
||||||
@ -31,6 +33,8 @@ services:
|
|||||||
nwaku:
|
nwaku:
|
||||||
image: ${NWAKU_IMAGE}
|
image: ${NWAKU_IMAGE}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
deploy:
|
deploy:
|
||||||
replicas: ${NUM_NWAKU_NODES}
|
replicas: ${NUM_NWAKU_NODES}
|
||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
@ -46,6 +50,8 @@ services:
|
|||||||
gowaku:
|
gowaku:
|
||||||
image: ${GOWAKU_IMAGE}
|
image: ${GOWAKU_IMAGE}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
deploy:
|
deploy:
|
||||||
replicas: ${NUM_GOWAKU_NODES}
|
replicas: ${NUM_GOWAKU_NODES}
|
||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user