This repository contains a Docker compose file that will create a clean installation of the latest Wordpress version.
- Docker
docker-compose up -dThis will start:
- WordPress on http://localhost
- MariaDB database (internal)
- phpMyAdmin (to access wordpress database at http://localhost:8080 when needed)
docker-compose downdocker-compose down -vdocker-compose logs -fIf you've lost your administrator password do the following: Open the database via phpMyAdmin (http://localhost:8080/). Select the wordpress database and run the following query in the tab "SQL":
UPDATE wp_users SET user_pass = MD5('MijnNieuwWachtwoord!') WHERE user_login = 'admin';Now you should be able to login at http://localhost/wp-admin.