WPDock - WordPress environments with reduced dependencies.
A proof of concept, the main branch is WordPress running on top of MariaDB served by PHP-FPM 8.1 behind Caddy, on Docker containers.
Alternative ways:
- the
sqlitebranch removes MariaDB as dependencies. - the
php-builtin-serverbranch also removes Docker and the webserver as dependencies, running wp on top of PHP only.
Setup:
- Copy
wp-config-sample.phptowp-config.phpand make changes to the salts and database info. - Copy
composer-sample.jsontocomposer.jsonand add your required plugins/themes. - Copy
.env-sampleto.envand update all the values. - run
docker-compose up --buildto create the containers - open https://localhost and accept the security warning, follow the installation to get a working WP install.
Known issues:
- no object cache plugin and container
- no full page caching (I recommend Surge)
- no webserver request caching
Why:
This is an intermediate step for WordPress as an app platform to be feasable.