Running tyk gateway using non root user

Hey, we are currently working on hardening our production envs, and we are migrating from using root user for our docker based services, to other users with defined permissions

I would like to know if there are any specific folder permissions are required. for instance if request payload is limited to a certain size, and written to disk when exceeded



In a standard setup you need /opt/tyk-gateway to be owned by your non root user.


My main concern is stuff like buffer size limiting the request payload

For instance nginx writes request body to disk as it exceeds buffer size of 16k

I could not find any resources regarding running it as non root