slashfan / docker-symfony Goto Github PK
View Code? Open in Web Editor NEWBasic Docker configuration for Symfony and other PHP projects development (drupal, wordpress...)
License: MIT License
Basic Docker configuration for Symfony and other PHP projects development (drupal, wordpress...)
License: MIT License
Hello !
It's a pleasure to create the first issue of this repo.
Well, it's the second time that I'm facing the same issue.
The problem is that the created user don't match the current session user, So, don't have permission to create a directory for exemple.
My current session UID is different than 1000 (by default), in my case 1001.
So containers PHP and Node don't have permissions on files.
I edited the creation of users for both.
On PHP I changed docker/php/Dockerfile:131
from: RUN useradd -ms /bin/bash project
to: RUN useradd -m -u 1001 -o -s /bin/bash project
On Node I changed docker/node/Dockerfile:7:
from: RUN groupmod -g 999 node && usermod -u 999 -g 999 node
to: RUN groupmod -g 1001 node && usermod -u 1001 -g 1001 node
The solution might be to get the current user ID on building process or to make it as an argument on docker-compose.override.yml ?
I would like to know about your point of view before making any PR.
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.