Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom entrypoint to solve file permission issue #35

Open
nezhar opened this issue Sep 18, 2019 · 3 comments
Open

Add custom entrypoint to solve file permission issue #35

nezhar opened this issue Sep 18, 2019 · 3 comments
Assignees

Comments

@nezhar
Copy link
Owner

nezhar commented Sep 18, 2019

Based on #34

@nezhar nezhar self-assigned this Sep 18, 2019
@chungchi300
Copy link

is it mean there is a fix for file upload permission error? Since I am suffering from it now, but again thanks for this great setup that makes the WordPress development process more easier

@nezhar
Copy link
Owner Author

nezhar commented Feb 10, 2020

Hi @chungchi300

The entrypoint is one way, but it would add complexity to the repository, which I would like to avoid if possible.

There is another way that may be a bit better. Would you like to try adding the user attribute to you docker-compose.yml in the wp service?

services:
  wp:
    user: "${UID}:${GID}"
    image: wordpress:latest
    ...  

@chungchi300
Copy link

@nezhar
thanks for your rapid reply, I try it again with those modification but still has no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants