Skip to content

Commit

Permalink
Fixes #606: Docker compose version obsolete, fix network issue with c…
Browse files Browse the repository at this point in the history
…ustom domain.
  • Loading branch information
geerlingguy committed Jul 9, 2024
1 parent 772cee4 commit fd4a29c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# {{ ansible_managed }}
---
version: "3.5"

volumes:
prometheus_data: {}
grafana_data: {}
Expand Down
3 changes: 1 addition & 2 deletions templates/pi-hole-docker-compose.yml.j2
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 0 additions & 2 deletions templates/shelly-plug-docker-compose.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# {{ ansible_managed }}
---
version: "3"

services:
shelly-plug:
container_name: shelly-plug
Expand Down
2 changes: 0 additions & 2 deletions templates/starlink-docker-compose.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# {{ ansible_managed }}
---
version: "3"

services:
starlink-exporter:
container_name: starlink-exporter
Expand Down

0 comments on commit fd4a29c

Please sign in to comment.