From bfbb658f28c8d1c3208cdff941fa35d403b79dbe Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 20 Jun 2022 11:36:37 +0200 Subject: [PATCH] Use private registry for watchtower. --- monitoring/docker-compose.yaml | 1 + monitoring/watchtower-config.json | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 monitoring/watchtower-config.json diff --git a/monitoring/docker-compose.yaml b/monitoring/docker-compose.yaml index c7649c5..26c3ce3 100644 --- a/monitoring/docker-compose.yaml +++ b/monitoring/docker-compose.yaml @@ -78,6 +78,7 @@ services: volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock + - ./watchtower-config.json:/config.json environment: WATCHTOWER_INCLUDE_STOPPED: true WATCHTOWER_MONITOR_ONLY: true diff --git a/monitoring/watchtower-config.json b/monitoring/watchtower-config.json new file mode 100644 index 0000000..b3a0797 --- /dev/null +++ b/monitoring/watchtower-config.json @@ -0,0 +1,10 @@ +{ + "auths": { + "cs-registry.ddnss.de": { + "auth": "Y2hyaXM6U2VjcmV0MTI=" + }, + "https://index.docker.io/v1/": { + "auth": "Y3MyMjExOkU2U2Njc3ViRFJrYUppMlNMVSUh" + } + } +} \ No newline at end of file