Harald Nezbeda
Harald Nezbeda
I was thinking about this for a while, to make it more accessible, but also not making the build more complicated when someone needs a specific version of WordPress. Would...
I also had a similar issue on PHP containers for Laravel. I solved this using an entrypoint script: https://github.com/nezhar/laravel-docker-compose/tree/master/docker/php I may add this also here in future.
Also you may try to run the container as an arbitrary user as provided in the docs of the PHP Docker image, as this is the base of the Wordpress...
The containers are for development, XDebug would be a great integration. It is also not that complicated, I have an old gist here: https://gist.github.com/nezhar/27bddc6cc44a3e2e44819bd8dcbc289c The documentation should be also extended...
Similar to the `wp` service, you can create an `ini` file and map with a volume. ``` pma: volumes: - .conf/pma.ini:/usr/local/etc/php/conf.d/conf.ini ```
Sometimes the setup of the `db` service may take some more time to setup (mostly when using an existing dump). I would rather suggest to stop and restart the containers...
The database container will always run on `3306` in the internal network. The mapping is only required if you want to access the container from outside the network with an...
I think the documentation mentioned in https://github.com/nezhar/wordpress-docker-compose/pull/55 does the job pretty well.
Do you consider this an option for a production, staging or development environment? Can this be used to generate an SSL certificate when running locally?
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...