WordPress Docker Compose starter

2022 discontinued View on GitHub

700+ ⭐ and 300+ forks

CI

Donate

Use WordPress locally with Docker using Docker compose

Contents

  • A Dockerfile for extending a base image and using a custom Docker image with an automated build on Docker Hub
  • PHP 8.1
  • Custom domain and HTTPS support. So you can use for example https://myapp.local
  • Custom nginx config in ./nginx
  • Custom PHP php.ini config in ./config
  • Volumes for nginx, wordpress and mariadb
  • Composer - dependency manager for PHP
  • Bedrock - modern development tools, easier configuration, and an improved secured folder structure for WordPress
  • WP-CLI - WP-CLI is the command-line interface for WordPress.
  • MailHog - An email testing tool for developers. Configure your outgoing SMTP server and view your outgoing email in a web UI.
  • PhpMyAdmin - free and open source administration tool for MySQL and MariaDB
    • PhpMyAdmin config in ./config
  • CLI script to create a SSL certificate using mkcert

Instructions and help

See the new Wiki