Open syhreality opened 2 days ago
Hi,
no SniDust does not run as root (see: https://github.com/Seji64/SniDust/blob/9cbe5c27ef02ab4130096a7837bef61029b79125/Dockerfile#L80)
The root cause of your problem is that you specify a 'PUID' and 'PGUID'. So the Unix user 1027 indeed does not have the correct permission. What's the reason you specify 'PUID' ?
Ahh, that's my mistake. PUID is for a docker user account that was created, it is used by my other containers.
I have removed the PUID and PGID environment variables and rebuilt the project however I still have the same issues in accessing nginx;
nginx: [emerg] mkdir() "/var/lib/nginx/tmp/client_body" failed (13: Permission denied).
Do I need to create a user called snidust and give it permissions to /var/lib/nginx/?
I have had issues running this with Docker on a Synology NAS. I seem to be having permission issues as per the following error: nginx: [emerg] mkdir() "/var/lib/nginx/tmp/client_body" failed (13: Permission denied).
I can allow access to this directory using chmod, but will I also need to define a volume path in the Docker config? Does this project need to be ran as root?
The compose file I am using is as follows: