Alpine linux based docker containers for wordpress project (apache , mysql containers )
Switch branches/tags
Nothing to show
Clone or download
Latest commit 13049be Jul 20, 2016
Permalink
Failed to load latest commit information.
apache Initial Jul 20, 2016
mysql Initial Jul 20, 2016
README.md Update README.md Jul 20, 2016
docker-compose.yml Initial Jul 20, 2016
setUpWordpress.sh Initial Jul 20, 2016

README.md

Run:

  • Copy site files to apache/files/site/
  • Copy database dump to root directory

Go to root dir

chmod +x setUpWordpress.sh

next

./setUpWordpress.sh

Manual run

docker-compose up -d
docker exec -i mysql mysql -u root wordpressDb < dbBackup.sql

For update site files or db backup

Copy new site files to apache/files/site/

Run for mysql db backup restore: docker exec -i mysql mysql -u root wordpressDb < dbBackup.sql