- Wordpress with MariaDB database
- Clone the repository:
git clone https://github.com/Bramvanosta/wordpress-docker-starter.git - Build and launch the docker containers:
docker-compose up - Point the container's IP address to the right hosts by adding this line to the
/etc/hostsfile:127.0.0.1 wordpress.dev - You can now access the following url:
- wordpress.dev
The database dump file is located in config/wp_dump.sql. To import this file, execute the following script:
./scripts/importWordpressDb.sh
To export the latest version of the database, execute the following script:
./scripts/exportWordpressDb.sh
To empty the database, execute the following script:
./scripts/emptyWordpressDb.sh