- Copy site files to apache/files/site/
- Copy database dump to root directory
Go to root dir
chmod +x setUpWordpress.sh
next
./setUpWordpress.sh
docker-compose up -d
docker exec -i mysql mysql -u root wordpressDb < dbBackup.sql
Copy new site files to apache/files/site/
Run for mysql db backup restore: docker exec -i mysql mysql -u root wordpressDb < dbBackup.sql