wordpress-docker-compose
wordpress-docker-compose copied to clipboard
Add custom entrypoint to solve file permission issue
Based on https://github.com/nezhar/wordpress-docker-compose/pull/34
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
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
...
@nezhar thanks for your rapid reply, I try it again with those modification but still has no luck.