- Clone this repository
git clone https://github.com/thangbuiq/blog.git
- Create a
.env
file in the root directory of the project with the following content:
WORDPRESS_DB_USER=wordpress
WORDPRESS_DB_PASSWORD=wordpress
WORDPRESS_DB_NAME=wordpress
MYSQL_ROOT_PASSWORD=wordpress
- Run the following command to start the WordPress server:
docker compose up -d