When using the provided V2 sample, everything works perfectly, so I'm pretty sure there is an issue in my translation to 3.4
I wish to include this in a stack so have to convert (or somehow other trigger the V2.yml?).
Everything appears to start up fine and can open the /admin interface, but it allows me full access without ever asking for the password, and any attempt to change settings results in:
PHP error (2): parse_ini_file(/etc/pihole/setupVars.conf): failed to open stream: Permission denied in /var/www/html/admin/settings.php:12
I'm presuming it's related to my volume mapping, and have tried everything I can think off in terms of syntax adjustment.
I've also tried entering values directly instead of using the .env but the same result. A kick in the right direction would be much appreciated.
Hi, a little new to Docker so please be gentle!
When using the provided V2 sample, everything works perfectly, so I'm pretty sure there is an issue in my translation to 3.4 I wish to include this in a stack so have to convert (or somehow other trigger the V2.yml?).
Everything appears to start up fine and can open the /admin interface, but it allows me full access without ever asking for the password, and any attempt to change settings results in:
PHP error (2): parse_ini_file(/etc/pihole/setupVars.conf): failed to open stream: Permission denied in /var/www/html/admin/settings.php:12
I'm presuming it's related to my volume mapping, and have tried everything I can think off in terms of syntax adjustment. I've also tried entering values directly instead of using the .env but the same result. A kick in the right direction would be much appreciated.
docker-compose as follows:
version: '3.4'
services: pihole: container_name: pihole image: cbcrowe/pihole-unbound hostname: ${HOSTNAME} domainname: ${DOMAIN_NAME} cap_add:
'SNIP/etc-dnsmasq.d/:/etc/dnsmasq.d/'
restart: unless-stopped