While at it, also sort list of volumes in lexical order and at the missing YAML document marker.
@@ -1,5 +1,12 @@
+---
version: '3'
+volumes:
+ dnsmasq:
+ driver: local
+ etcd:
+
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