docker-compose up- Go to
localhost:8080in your web browser - Set up WordPress and change some stuff
- Ctrl+C in the
docker-compose upterminal ./backup-db.sh && ./backup-wp.sh- Creates
backup-db.tarandbackup-wp.tar
- Creates
docker volume rm wp_db wp_wordpress- Removes volumes containing your setup and configurations
docker-compose up- Notice that everything is reset
- Ctrl+C
./restore-db.sh && ./restore-wp.shdocker-compose up- Notice that everything is back to how you configured it
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|