From 17d22805b71c2cac8627b227af8697301eae52f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 26 Sep 2023 13:56:30 +0200 Subject: [PATCH 1/2] docker-compose: add watchtower label and variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 From c82acf6eafe7273d7751750874a08c46608a56ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 26 Sep 2023 15:03:17 +0200 Subject: [PATCH 2/2] gitignore: ignore files ending in .env MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub Sokołowski --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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