{"repo":"nezhar/wordpress-docker-compose","free":true,"listed":false,"github":"https://github.com/nezhar/wordpress-docker-compose","clone":"git clone https://github.com/nezhar/wordpress-docker-compose.git","description":"Easy Wordpress development with Docker and Docker Compose","language":"Shell","stars":2039,"topics":["docker","wordpress","docker-compose","workflow","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"WPDC - WordPress Docker Compose Easy WordPress development with Docker and Docker Compose. With this project you can quickly run the following: - WordPress and WP CLI - phpMyAdmin - MySQL Contents: - Requirements - Configuration - Installation - Usage Requirements Make sure you have the latest versions of Docker and Docker Compose installed on your machine. The commands in this README use the Compose V2 syntax ( docker compose ), which ships with Docker Desktop and is available as the docker-compose-plugin package on Linux. Clone this repository or copy the files from this repository into a new folder. In the docker-compose.yml file you may change the IP address (in case you run multiple containers) or the database from MySQL to MariaDB. Make sure to add your user to the docker group when using Linux. Configuration Copy the example environment into .env Edit the .env file to change the default IP address, MySQL root password and WordPress database name. Installation Open a terminal and cd to the folder in which docker-compose.yml is saved and run: This creates two new folders next to your docker-compose.yml file. wp-data – used to store and restore database dumps wp-app – the location of your WordPress application The containers are now built and running. You should be able to access the WordPress installation with the configured IP in the browser address. By default it is http://127.0.0.1 . For convenience you may add a new entry into your hosts file. Usage Starting containe","default_branch":null,"files":null,"tree":[],"storefront":"/r/nezhar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nezhar/wordpress-docker-compose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}