Open garret opened 2 years ago
Unfortunately Scrutiny doesn't support the PUID and PGID env variables (I'm guessing you set them up for the LSIO image?)
I'd be happy to add support for those variables, would you be willing to open a PR? I think you can start with setting permissions in a https://github.com/AnalogJ/scrutiny/tree/master/rootfs/etc/cont-init.d file.
Unfortunately, I am everything except a programmer so I can't contribute with any PR. I can see that the permission issues started when influxdb was introduced. If I connect scrutiny to another container running influxdb, maybe I can solve the issue this wasy?
Copying from the older version of linuxserver's images should do the job: https://github.com/linuxserver/docker-baseimage-alpine/blob/4af8d4292fad7fc653eedcafd6a0443edfc1f288/root/etc/cont-init.d/10-adduser
@AnalogJ please have a look at my PR. I haven't tested the build yet.
I ran scrutiny with such docker-compose scheme on my raspberry pi 4b (4GB):
Since it was introduced the influxdb database I now encounter the issue that the
/opt/scrutiny/influxdb
folder is not locally saved after myPUID
andPGID
settings (set in an.env
file next to my docker-compose file). That is not the case for the/opt/scrutiny/config
folder which instead respects thePUID
andPGID
settings.I tried adding
user: ${PUID}:${PGID}
in the docker-compose but in that way scrutiny does not event start.Do you know how to solve such issue?