From 1ea0ffc68c02297fc7c4c42e83b0f1deb1e392a0 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 21 Nov 2023 21:18:33 +0100 Subject: [PATCH] Add docker auth in watchtower --- roles/watchtower/templates/docker-compose.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/watchtower/templates/docker-compose.yml.j2 b/roles/watchtower/templates/docker-compose.yml.j2 index a382b73..41fcbb5 100644 --- a/roles/watchtower/templates/docker-compose.yml.j2 +++ b/roles/watchtower/templates/docker-compose.yml.j2 @@ -7,6 +7,7 @@ services: container_name: watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock + - /root/.docker/config.json:/config.json:ro networks: - metrics environment: