Explorar el Código

fix: add missing Pihole volume definition

While at it, also sort list of volumes in lexical order and at the
missing YAML document marker.
Christoph Schug hace 2 años
padre
commit
4eacd7dad6
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  1. 8 1
      docker-compose/pihole/docker-compose.yaml

+ 8 - 1
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