Please do not use this as a reference configuration for a production deployment
dev.mp4
Install docker-compose or podman-compose + docker dependencies
Postgres 14
PHP FPM with required extensions
NGINX
Clone this repo
git clone --recurse-submodules [email protected]:PostgreSQL-For-Wordpress/PG4WP-Local-Development.git
In 1 tab, Start the background services
docker-compose up nginx php-fpm db
In another tab, Start the test runner
docker-compose up php-cli
In another tab, Enter the php-fpm container
docker-compose exec php-fpm /bin/sh
Perform the 1 time install
wp --allow-root core install --url=http://wordpress.localhost --title="Wordpress Local Dev" --admin_user=root --admin_email="[email protected]" --admin_password=secret
To see your site
Navigate to http://wordpress.localhost
To log in and view the dashboard using username root and password "secret"
Navigate to http://wordpress.localhost/wp-admin