first commit
This commit is contained in:
28
pihole.container
Normal file
28
pihole.container
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Pi-hole Systemwide Ad Blocker
|
||||||
|
After=network.target
|
||||||
|
Wants=network.target
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=pihole
|
||||||
|
Image=docker.io/pihole/pihole:latest
|
||||||
|
AutoUpdate=registry
|
||||||
|
PublishPort=5353:53/tcp
|
||||||
|
PublishPort=5353:53/udp
|
||||||
|
PublishPort=8181:80/tcp
|
||||||
|
PublishPort=4433:443/tcp
|
||||||
|
#Uncomment the below if using Pi-hole as your DHCP Server
|
||||||
|
#PublishPort=67:67/udp
|
||||||
|
#Uncomment the line below if you are using Pi-hole as your NTP server
|
||||||
|
#PublishPort=123:123/udp
|
||||||
|
EnvironmentFile=pihole.env
|
||||||
|
Volume=etc-pihole:/etc/pihole
|
||||||
|
AddCapability=NET_ADMIN
|
||||||
|
AddCapability=SYS_TIME
|
||||||
|
AddCapability=SYS_NICE
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=unless-stopped
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
3
pihole.env
Normal file
3
pihole.env
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
TZ=America/New_York
|
||||||
|
FTLCONF_webserver_api_password:oddsbodikins
|
||||||
|
FTLCONF_dns_listeningmode=ALL
|
||||||
Reference in New Issue
Block a user