Production ready? #155
-
Hello everyone, it is said that I can use these containers in production, but these are running as the root user. Am I missing something or does it has to work as root? |
Beta Was this translation helpful? Give feedback.
Answered by
jaydrogers
Feb 27, 2023
Replies: 1 comment
-
Unfortunately the initial user needs to run as Good news is, when you're running any PHP application, it will run all applications as Any other questions, let me know 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jaydrogers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately the initial user needs to run as
root
to bring the processes up, then we run the actual php and web server process aswebroot
(this is how PHP-FPM wants it to be).Good news is, when you're running any PHP application, it will run all applications as
webuser
inside the container.Any other questions, let me know 👍