This is a refactored docker-compose file following the structure of the official exampele from https://docs.docker.com/compose/wordpress/.
It addresses the issue of how to increase the upload limit and how to change php.ini variables within the container. See docker-library/wordpress#10.
- Create and configure a
.envfile. (See.env-examplefor an example) - Adapt the
wordpress/php.inifile to your liking. - Make sure Docker is running and build the containers by running
docker-compose build - Start the container by running
docker-compose up -d. You should now be able to bring up wordpress by browsing tolocalhost:8000