Simple docker compose solution for local development.
- PHP 7.4
- Bedrock
- Traefik
- phpMyAdmin
- Composer
- MailHog
- WP-CLI
- mkcert
- Docker & Docker Compose
- Bash or WSL
- Create your own
.env
from.env-example
- Create certificates
make install-certs
- Download and run WordPress Bedrock
make install-bedrock
- Continue with WordPress Core installation
make install-core
install-certs Install certificates for the project
install-bedrock Start WordPress Bedrock Docker configuration
install-core Install WordPress Core
status Show docker status
logs Show docker logs
stop Stop docker project
stop-clean Stop docker project, remove containers, volumes and network
start Start docker project
restart Restart docker project
uninstall Uninstall docker project
rebuild Rebuild docker project
wpcli Run WP-CLI commands. Put wpcli parameters into $args, e.g. make wpcli args='plugin list --status="active"'
composer Run Composer commands
mysql-backup Backup MySQL Database
mysql-restore Restore MySQL Database from file, e.g. make mysql-restore mysql-2021-04-02.sql.gz
help Generate command list