Quickstart: Compose and WordPress
Quickstart: Compose and WordPress
You can use Docker Compose to easily run WordPress in an isolated environment built with Docker containers. This quick-start guide demonstrates how to use Compose to set up and run WordPress. Before starting, you’ll need to have Compose installed.
Define the project
-
Create an empty project directory.
You can name the directory something easy for you to remember. This directory is the context for your application image. The directory should only contain resources to build that image.
This project directory will contain a
docker-compose.yml
file which will be complete in itself for a good starter wordpress project.Tip: You can use either a
.yml
or.yaml
登录查看完整内容