Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 708 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 708 Bytes

Docker Wordpress xDebug

A docker-compose template for setting up Wordpress, persistant storage with MariaDB and xDebug.

Getting started

  1. Make sure you have docker and docker-compose installed and up to date.
  2. Clone the repo.
    • git clone https://github.com/traed/dwx my-project && cd my-project && rm -rf .git
  3. Copy .env-example to a new file called .env and change the IP address to your local IP for xDebug to work.
    • cp .env-example .env
  4. Build and run with docker-compose.
    • docker-compose up -d --build
  5. (optional) If using Duplicator, log into the container and remove all files from /var/www/html and place the duplicator files there. Then go to /installer.php in the browser.