diff --git a/.gitignore b/.gitignore index 6a3e68d..5b2501c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -**/.DS_Store \ No newline at end of file +**/.DS_Store +*.env diff --git a/docker-compose.yml b/docker-compose.yml index d674183..a6279b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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