- Clone the project
- Go into the project and copy the .env file
- Fill out the .env file
- Run docker-compose
- Webiste can be now viewed under
http://localhost, and a GUI for database can be viewed underhttp://localhost:8080.
Remember to fill each pair of
*_HOST,*_USER,*_PASSWORDand (MYSQL_DATABASEandWORDPRESS_DB_NAME) with the same value.MYSQL_ROOT_PASSWORDmust be filled in.
git clone https://github.com/viet-aus-it/wordpress-docker-compose-sample.git
cd wordpress-docker-compose-sample
cp .env.sample .env
# Fill out the env file here
docker-compose pull
docker-compose up