mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-27 18:06:53 +00:00
community-containers - add pi-hole
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
369704564d
commit
bbebaae89b
2 changed files with 72 additions and 0 deletions
54
community-containers/pi-hole/pi-hole.json
Normal file
54
community-containers/pi-hole/pi-hole.json
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"aio_services_v1": [
|
||||
{
|
||||
"container_name": "nextcloud-aio-pihole",
|
||||
"display_name": "Pi-hole",
|
||||
"image": "pihole/pihole",
|
||||
"image_tag": "latest",
|
||||
"internal_port": "8573",
|
||||
"restart": "unless-stopped",
|
||||
"ports": [
|
||||
{
|
||||
"ip_binding": "",
|
||||
"port_number": "53",
|
||||
"protocol": "tcp"
|
||||
},
|
||||
{
|
||||
"ip_binding": "",
|
||||
"port_number": "53",
|
||||
"protocol": "udp"
|
||||
},
|
||||
{
|
||||
"ip_binding": "",
|
||||
"port_number": "8573",
|
||||
"protocol": "tcp"
|
||||
}
|
||||
],
|
||||
"environment": [
|
||||
"TZ=%TIMEZONE%",
|
||||
"WEBPASSWORD=%PIHOLE_WEBPASSWORD%",
|
||||
"DNSMASQ_LISTENING=all",
|
||||
"WEB_PORT=8573"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"source": "nextcloud_aio_pihole",
|
||||
"destination": "/etc/pihole",
|
||||
"writeable": true
|
||||
},
|
||||
{
|
||||
"source": "nextcloud_aio_pihole_dnsmasq",
|
||||
"destination": "/etc/dnsmasq.d",
|
||||
"writeable": true
|
||||
}
|
||||
],
|
||||
"backup_volumes": [
|
||||
"nextcloud_aio_pihole",
|
||||
"nextcloud_aio_pihole_dnsmasq"
|
||||
],
|
||||
"secrets": [
|
||||
"PIHOLE_WEBPASSWORD"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue