mirror of
https://github.com/waku-org/waku-simulator.git
synced 2025-02-28 23:40:35 +00:00
Merge pull request #8 from waku-org/docker/add-watchtower
docker-compose: add watchtower label and variable
This commit is contained in:
commit
be6d8c7703
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
**/.DS_Store
|
||||
**/.DS_Store
|
||||
*.env
|
||||
|
@ -14,6 +14,8 @@ services:
|
||||
bootstrap:
|
||||
image: ${NWAKU_IMAGE}
|
||||
restart: on-failure
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||
# TODO: expose some ports to inject traffic
|
||||
ports:
|
||||
- 127.0.0.1:60000:60000
|
||||
@ -31,6 +33,8 @@ services:
|
||||
nwaku:
|
||||
image: ${NWAKU_IMAGE}
|
||||
restart: on-failure
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||
deploy:
|
||||
replicas: ${NUM_NWAKU_NODES}
|
||||
entrypoint: sh
|
||||
@ -46,6 +50,8 @@ services:
|
||||
gowaku:
|
||||
image: ${GOWAKU_IMAGE}
|
||||
restart: on-failure
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||
deploy:
|
||||
replicas: ${NUM_GOWAKU_NODES}
|
||||
entrypoint: sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user