-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Run the containers without root #386
base: master
Are you sure you want to change the base?
Conversation
…d default 2000:2000 for the photonix container, add init container just for setting up the filesystem. Don't install cron.
…thout root) put retrain_face_similarity_index into a shell loop with a sleep.
Thanks for this contribution @jmaddencom. I'd been meaning to look and this for a while but hadn't got round to it. Couple of points...
Thanks again, and looking forward to merging this in. |
Sure thing @damianmoore, will do.
Edit: Right, 70 and 999 are the ones shipped by the containers. At least in the pgsql case I found that difficult to change and probably not worth it as long as it isn't |
…nd the pattern was wrong.) Ignore *~ for editor swap.
This updates docs and dev files (but doesn't remove cron from dev, which means cron won't run properly there.) I'll take another swing at non-root cron asap but I've run out of weekend. :/ |
This should improve potential exposure quite a bit by only requiring root in a busybox init container to set the directories up.
Since I've only changed the production configs this won't work alongside a dev install if you're switching between the two. Let me know if you consider this worthwhile and I'll get that working too.