/wordpress-docker

A simple docker setup for Wordpress local development

Primary LanguagePHP

Wordpress Docker

A simple docker setup for Wordpress local development with :

  • PHP 8.2
  • Xdebug 3
  • OPcache
  • Mysql 8.0
  • Phpmyadmin
  • Mailpit

Installation

  • Rename the wordpress config file for local development
mv ./wordpress/wp-config-local.php ./wordpress/wp-config.php
  • Download and copy your wordpress files into the ./wordpress directory

  • Build and run

docker compose up -d --build

Usage