From af5d535fe796b9cd46da250325df2edef2435bf7 Mon Sep 17 00:00:00 2001 From: MilesTEG Date: Sun, 25 Apr 2021 22:31:06 +0200 Subject: [PATCH] Ajout d'un HealtCheck au conteneur + Renommage du fichier yml --- ...rdhome-macvlan_docker-compose.yml => docker-compose.yml} | 6 ++++++ 1 file changed, 6 insertions(+) rename docker-compose/adguard-macvlan/{TUTO-adguardhome-macvlan_docker-compose.yml => docker-compose.yml} (96%) diff --git a/docker-compose/adguard-macvlan/TUTO-adguardhome-macvlan_docker-compose.yml b/docker-compose/adguard-macvlan/docker-compose.yml similarity index 96% rename from docker-compose/adguard-macvlan/TUTO-adguardhome-macvlan_docker-compose.yml rename to docker-compose/adguard-macvlan/docker-compose.yml index 472df3b..0b8c69b 100644 --- a/docker-compose/adguard-macvlan/TUTO-adguardhome-macvlan_docker-compose.yml +++ b/docker-compose/adguard-macvlan/docker-compose.yml @@ -61,6 +61,12 @@ services: restart: unless-stopped + healthcheck: + test: "/bin/netstat -pant | /bin/grep 53" + interval: 45s + timeout: 30s + retries: 3 + networks: macvlan-network: # Ce réseau devra bien entendu être créé avant avec le script annexe ou avec Portainer. external: true \ No newline at end of file -- 2.45.2