mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
24 lines
475 B
TOML
24 lines
475 B
TOML
[services]
|
|
|
|
[services.pihole]
|
|
container_name = "pihole"
|
|
image = "pihole/pihole"
|
|
ports = ["53:53/tcp", "53:53/udp", "67:67/udp", "8069:80/tcp"]
|
|
networks = ["proxy"]
|
|
volumes = [
|
|
"/docker/pihole/pihole:/etc/pihole/",
|
|
"/docker/pihole/dnsmasq:/etc/dnsmasq.d/",
|
|
]
|
|
dns = ["127.0.0.1", "1.1.1.1"]
|
|
cap_add = ["NET_ADMIN"]
|
|
restart = "unless-stopped"
|
|
|
|
[services.pihole.environment]
|
|
TZ = "Europe/Helsinki"
|
|
WEBPASSWORD = "${WEBPASSWORD}"
|
|
|
|
[networks]
|
|
|
|
[networks.proxy]
|
|
external = true
|