-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker issues (Synology) #82
Comments
Hi, no SniDust does not run as root (see: Line 80 in 9cbe5c2
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; Do I need to create a user called snidust and give it permissions to /var/lib/nginx/? |
hm no you don't have to create an user. should work out of the box... |
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:
The text was updated successfully, but these errors were encountered: