revised approach
This commit is contained in:
1
pihole/.env
Normal file
1
pihole/.env
Normal file
@@ -0,0 +1 @@
|
||||
PIHOLE_SECRET=deviceADMIN
|
||||
28
pihole/compose.yml
Normal file
28
pihole/compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
service:
|
||||
image: pihole/pihole:latest
|
||||
ports:
|
||||
- "192.168.1.152:53:53/tcp"
|
||||
- "192.168.1.152:53:53/udp"
|
||||
- "8001:80/tcp"
|
||||
#- "443:443/tcp"
|
||||
#- "67:67/udp"
|
||||
#- "123:123/udp"
|
||||
environment:
|
||||
TZ: "America/Denver"
|
||||
FTLCONF_webserver_api_password: ${PIHOLE_SECRET}
|
||||
FTLCONF_dns_listeningMode: "all"
|
||||
volumes:
|
||||
- "./etc-pihole:/etc/pihole"
|
||||
#- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_TIME
|
||||
- SYS_NICE
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
Reference in New Issue
Block a user