php-docker-boilerplate icon indicating copy to clipboard operation
php-docker-boilerplate copied to clipboard

Permission when deploying to Ubuntu

Open vinhtq opened this issue 7 years ago • 3 comments

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

vinhtq avatar Jul 12 '17 01:07 vinhtq

Per default the container is using UID 1000/GID 1000 for accessing files inside the container or host mounted volumes.

mblaschke avatar Jul 18 '17 20:07 mblaschke

How can we change the default UID/GID?

lukrop avatar Sep 27 '17 18:09 lukrop

Add the following configuration to your environment.yml and change the ids ;)

EFFECTIVE_UID=1234 EFFECTIVE_GID=1234

Stewy82 avatar Jan 18 '18 13:01 Stewy82