Mapping custom bind paths in an Addon

Hi,

I’m setting up my local addon to run pi-hole & unbound installation within my HA OS.
I got it for everything to work except the persistent storage.
The problem is that pi-hole’s scripts point to /etc/xxx to store data.
So the solution would be that docker binds the /etc/xxx folders to the /data folders that HA OS exposes to addons as persistent paths.
However, such action doesn’t seem to be possible to be done from the addons config.

  • Any idea how to achieve this binding?

Thanks.

PS: I tried going the route of overwritten all references of /etc/xxx to /data/xxx but didn’t work out, plus it would hinder future ‘quick’ updates.

1 Like