Open rgarrigue opened 4 years ago
likewise, I'm wary of allowing the container run as "root"
You can put the user
option in the compose file, or the --user
argument in docker command line, to override the container's user.
The program is not privilege sensetive, in the container I just put it to root to make things easier.
Hi there
Would you mind adding the possibility to set the UID & GID for the download directory ? That would allow integrating with other container more easily, enforcing the same user accros the files
You can do that adding an entrypoint script, like this https://github.com/rgarrigue/cozy-docker/blob/master/docker-entrypoint-production.sh#L26-L31
Best regards,