mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
See: https://github.com/nextcloud/all-in-one/discussions/6064 `pihole/pihole@latest` has been updated to `v6`, breaking the Web Admin interface at (http://192.168.x.x:8573/admin) (Pi-hole itself continues working fine, it seems) **Cause:** V6 replaced `lighttpd` with an *embedded webserver* and changed most `pi-hole.json` *environment variables*. **Fix:** This PR updates the environment variables to match the new v6 configuration. Stopping and starting the container will apply the changes and should fix the Web Admin interface. Signed-off-by: David Hund <david.hund@gmail.com>
57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"aio_services_v1": [
|
|
{
|
|
"container_name": "nextcloud-aio-pihole",
|
|
"display_name": "Pi-hole",
|
|
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/pi-hole",
|
|
"image": "pihole/pihole",
|
|
"image_tag": "latest",
|
|
"internal_port": "8573",
|
|
"restart": "unless-stopped",
|
|
"init": false,
|
|
"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%",
|
|
"FTLCONF_webserver_api_password=%PIHOLE_WEBPASSWORD%",
|
|
"FTLCONF_dns_listeningMode=all",
|
|
"FTLCONF_webserver_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"
|
|
],
|
|
"ui_secret": "PIHOLE_WEBPASSWORD",
|
|
"secrets": [
|
|
"PIHOLE_WEBPASSWORD"
|
|
]
|
|
}
|
|
]
|
|
}
|