php-docker-boilerplate
php-docker-boilerplate copied to clipboard
Permission when deploying to Ubuntu
On the server when I deploy the app, the website always ask for writable permission on some specific folder: tmp, cache, logs of folder app
Do I need to run chmod
or chown
command to gain access to the docker
I am running webdevops:php-nginx-16.04
Per default the container is using UID 1000/GID 1000 for accessing files inside the container or host mounted volumes.
How can we change the default UID/GID?
Add the following configuration to your environment.yml and change the ids ;)
EFFECTIVE_UID=1234
EFFECTIVE_GID=1234