diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index d44d0fb..83b6950 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -1,7 +1,5 @@ # {{ ansible_managed }} --- -version: "3.5" - volumes: prometheus_data: {} grafana_data: {} diff --git a/templates/pi-hole-docker-compose.yml.j2 b/templates/pi-hole-docker-compose.yml.j2 index fe82ab3..0974f6f 100644 --- a/templates/pi-hole-docker-compose.yml.j2 +++ b/templates/pi-hole-docker-compose.yml.j2 @@ -1,12 +1,11 @@ # {{ ansible_managed }} --- -version: "3.5" - {% if domain_name_enable and domain_name and domain_pihole %} {# Make sure pihole and nginx-proxy are in the same network #} networks: front-tier: name: internet-monitoring-front-tier + external: true {% endif %} # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ diff --git a/templates/shelly-plug-docker-compose.yml.j2 b/templates/shelly-plug-docker-compose.yml.j2 index 18349b8..17823a8 100644 --- a/templates/shelly-plug-docker-compose.yml.j2 +++ b/templates/shelly-plug-docker-compose.yml.j2 @@ -1,7 +1,5 @@ # {{ ansible_managed }} --- -version: "3" - services: shelly-plug: container_name: shelly-plug diff --git a/templates/starlink-docker-compose.yml.j2 b/templates/starlink-docker-compose.yml.j2 index 67f3cfc..8686575 100644 --- a/templates/starlink-docker-compose.yml.j2 +++ b/templates/starlink-docker-compose.yml.j2 @@ -1,7 +1,5 @@ # {{ ansible_managed }} --- -version: "3" - services: starlink-exporter: container_name: starlink-exporter