From 6116eed775d3f76842fc52bb1c835007d93ff1f3 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 19 May 2022 09:39:30 +0100 Subject: [PATCH] Use external DNS for monitoring This avoids potential issues with host DNS jitters --- ansible/roles/uptime_kuma/files/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/uptime_kuma/files/docker-compose.yml b/ansible/roles/uptime_kuma/files/docker-compose.yml index f9f9c4a..919f6a0 100644 --- a/ansible/roles/uptime_kuma/files/docker-compose.yml +++ b/ansible/roles/uptime_kuma/files/docker-compose.yml @@ -13,6 +13,9 @@ services: - traefik volumes: - ./data:/app/data + dns: + - 1.1.1.1 + - 8.8.8.8 labels: - traefik.enable=true - traefik.http.routers.uptime-kuma.rule=Host(`status.theorangeone.net`)