From 4eacd7dad68fbdc8ac1fe134bd5204038398cfb1 Mon Sep 17 00:00:00 2001 From: Christoph Schug Date: Fri, 23 Feb 2024 12:49:00 +0100 Subject: [PATCH] fix: add missing Pihole volume definition While at it, also sort list of volumes in lexical order and at the missing YAML document marker. --- docker-compose/pihole/docker-compose.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker-compose/pihole/docker-compose.yaml b/docker-compose/pihole/docker-compose.yaml index 22e0ede..34ce938 100644 --- a/docker-compose/pihole/docker-compose.yaml +++ b/docker-compose/pihole/docker-compose.yaml @@ -1,5 +1,12 @@ +--- version: '3' +volumes: + dnsmasq: + driver: local + etcd: + driver: local + services: pihole: container_name: pihole @@ -14,6 +21,6 @@ services: - TZ=Europe/Berlin - WEBPASSWORD=your-secret-password volumes: - - etcd:/etc/pihole - dnsmasq:/etc/dnsmasq.d + - etcd:/etc/pihole restart: unless-stopped