|
|
|
@ -161,6 +161,7 @@ services: |
|
|
|
image: pihole/pihole:v5.5.1 |
|
|
|
image: pihole/pihole:v5.5.1 |
|
|
|
env_file: |
|
|
|
env_file: |
|
|
|
- /opt/mistborn_volumes/base/base.txt |
|
|
|
- /opt/mistborn_volumes/base/base.txt |
|
|
|
|
|
|
|
- ./.envs/.production/.pihole |
|
|
|
ports: |
|
|
|
ports: |
|
|
|
- "${MISTBORN_DNS_BIND_IP}:53:53/tcp" |
|
|
|
- "${MISTBORN_DNS_BIND_IP}:53:53/tcp" |
|
|
|
- "${MISTBORN_DNS_BIND_IP}:53:53/udp" |
|
|
|
- "${MISTBORN_DNS_BIND_IP}:53:53/udp" |
|
|
|
@ -168,11 +169,12 @@ services: |
|
|
|
- "traefik.enable=true" |
|
|
|
- "traefik.enable=true" |
|
|
|
- "traefik.http.routers.pihole-http.rule=Host(`pihole.mistborn`)" |
|
|
|
- "traefik.http.routers.pihole-http.rule=Host(`pihole.mistborn`)" |
|
|
|
- "traefik.http.routers.pihole-http.entrypoints=web" |
|
|
|
- "traefik.http.routers.pihole-http.entrypoints=web" |
|
|
|
- "traefik.http.routers.pihole-http.middlewares=mistborn_auth@file" |
|
|
|
- "traefik.http.routers.pihole-http.middlewares=mistborn_auth@file,add-pihole-admin" |
|
|
|
- "traefik.http.routers.pihole-https.rule=Host(`pihole.mistborn`)" |
|
|
|
- "traefik.http.routers.pihole-https.rule=Host(`pihole.mistborn`)" |
|
|
|
- "traefik.http.routers.pihole-https.entrypoints=websecure" |
|
|
|
- "traefik.http.routers.pihole-https.entrypoints=websecure" |
|
|
|
- "traefik.http.routers.pihole-https.middlewares=mistborn_auth@file" |
|
|
|
- "traefik.http.routers.pihole-https.middlewares=mistborn_auth@file,add-pihole-admin" |
|
|
|
- "traefik.http.routers.pihole-https.tls.certresolver=basic" |
|
|
|
- "traefik.http.routers.pihole-https.tls.certresolver=basic" |
|
|
|
|
|
|
|
- "traefik.http.middlewares.add-pihole-admin.addPrefix.prefix=/admin" |
|
|
|
- "traefik.http.services.pihole-service.loadbalancer.server.port=80" |
|
|
|
- "traefik.http.services.pihole-service.loadbalancer.server.port=80" |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
- ServerIP=10.2.0.3 |
|
|
|
- ServerIP=10.2.0.3 |
|
|
|
@ -182,8 +184,6 @@ services: |
|
|
|
- DNSMASQ_LISTENING=all |
|
|
|
- DNSMASQ_LISTENING=all |
|
|
|
# TZ: 'America/New York' |
|
|
|
# TZ: 'America/New York' |
|
|
|
# Volumes store your data between container upgrades |
|
|
|
# Volumes store your data between container upgrades |
|
|
|
env_file: |
|
|
|
|
|
|
|
- ./.envs/.production/.pihole |
|
|
|
|
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- ../mistborn_volumes/base/pihole/etc-pihole:/etc/pihole/ |
|
|
|
- ../mistborn_volumes/base/pihole/etc-pihole:/etc/pihole/ |
|
|
|
- ../mistborn_volumes/base/pihole/etc-dnsmasqd:/etc/dnsmasq.d/ |
|
|
|
- ../mistborn_volumes/base/pihole/etc-dnsmasqd:/etc/dnsmasq.d/ |
|
|
|
|