diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-05 16:13:01 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-05 16:13:01 -0500 |
commit | fb0b3914086484d9284426985984e2c1699ba557 (patch) | |
tree | 963a2288a3b33f389972a78efaf3b6462bbe1925 /roles/pihole/templates | |
parent | b62d5f559b81556a1dd6197c72a0c43ba1744477 (diff) | |
download | oldinfra-fb0b3914086484d9284426985984e2c1699ba557.tar.gz oldinfra-fb0b3914086484d9284426985984e2c1699ba557.zip |
ldap, internal CA, internal webserver, dns, etc.
Diffstat (limited to 'roles/pihole/templates')
-rw-r--r-- | roles/pihole/templates/docker-compose.yml.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/pihole/templates/docker-compose.yml.j2 b/roles/pihole/templates/docker-compose.yml.j2 new file mode 100644 index 0000000..ed98d52 --- /dev/null +++ b/roles/pihole/templates/docker-compose.yml.j2 @@ -0,0 +1,18 @@ +version: "3" + +services: + pihole: + container_name: pihole + image: pihole/pihole:latest + ports: + - "{{ johan_ip }}:53:53/tcp" + - "{{ johan_ip }}:53:53/udp" + - "127.0.0.1:53:53/tcp" + - "127.0.0.1:53:53/udp" + - "127.0.0.1:9135:80/tcp" + environment: + WEBPASSWORD: '{{ pihole_webpwd }}' + volumes: + - './etc-pihole:/etc/pihole' + - './etc-dnsmasq.d:/etc/dnsmasq.d' + restart: unless-stopped |