fix pihole
This commit is contained in:
@@ -6,9 +6,9 @@ services:
|
||||
container_name: pihole
|
||||
image: pihole/pihole:latest
|
||||
ports:
|
||||
- "10.1.203.197:53:53/tcp"
|
||||
- "10.1.203.197:53:53/udp"
|
||||
- "10.1.203.197:8080:80/tcp"
|
||||
- "0.0.0.0:53:53/tcp"
|
||||
- "0.0.0.0:53:53/udp"
|
||||
- "0.0.0.0:8081:80/tcp"
|
||||
environment:
|
||||
TZ: "America/Chicago"
|
||||
WEBPASSWORD: "SET A PASSWORD HERE"
|
||||
|
||||
6
nginx/stream.d/unifi-external.conf
Normal file
6
nginx/stream.d/unifi-external.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
server {
|
||||
access_log /var/log/nginx/unifi-external.log basic;
|
||||
resolver 1.1.1.1;
|
||||
listen {{ ansible_default_ipv4.address }}:8080;
|
||||
proxy_pass {{ unifi_external.domain }}:8080;
|
||||
}
|
||||
@@ -12,12 +12,12 @@ terminate_ssl:
|
||||
- external_domain: pihole-yellow.reeseapps.com
|
||||
external_port: 443
|
||||
internal_domain: yellow.reeselink.com
|
||||
internal_port: 8080
|
||||
internal_port: 8081
|
||||
internal_protocol: http
|
||||
- external_domain: pihole-orange.reeseapps.com
|
||||
external_port: 443
|
||||
internal_domain: orange.reeselink.com
|
||||
internal_port: 8080
|
||||
internal_port: 8081
|
||||
internal_protocol: http
|
||||
- external_domain: yellow.reeseapps.com
|
||||
external_port: 443
|
||||
@@ -60,3 +60,5 @@ nginx:
|
||||
domain: nginx.reeselink.com
|
||||
iperf:
|
||||
domain: lb.reeselink.com
|
||||
unifi_external:
|
||||
domain: unifi-server1.reeselink.com
|
||||
|
||||
@@ -5,9 +5,9 @@ Wants=network-online.target
|
||||
ContainerName=pihole
|
||||
Environment=TZ=America/Chicago "WEBPASSWORD=SET A PASSWORD HERE"
|
||||
Image=pihole/pihole:latest
|
||||
PublishPort=53:53/tcp
|
||||
PublishPort=53:53/udp
|
||||
PublishPort=8080:80/tcp
|
||||
PublishPort=0.0.0.0:53:53/tcp
|
||||
PublishPort=0.0.0.0:53:53/udp
|
||||
PublishPort=0.0.0.0:8081:80/tcp
|
||||
Volume=pihole:/etc/pihole
|
||||
Volume=dnsmasq:/etc/dnsmasq.d
|
||||
|
||||
|
||||
Reference in New Issue
Block a user