User and group settings for opcache preload #1490
-
Hello, continuing my journey to roadrunner :) Could someone help to clarify user/group definition best practices for production usage? Should I create a separate user/group in docker image? I think running under |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @rmikalkenas, nice to meet you 👋🏻
They are generally the same as for any application. For security purposes, you may use a different user, but you should not handle requests w/o the web-server in front of the RR. If you use this configuration option (user+group): link, RR will start the underlying PHP processes from the provided user/group, so, child processes won't be able to access the files which are not in the same group or permissions level. |
Beta Was this translation helpful? Give feedback.
Hey @rmikalkenas, nice to meet you 👋🏻
They are generally the same as for any application. For security purposes, you may use a different user, but you should not handle requests w/o the web-server in front of the RR.
If you use this configuration option (user+group): link, RR will start the underlying PHP processes from the provided user/group, so, child processes won't be able to access the files which are not in the same group or permissions level.