WordPress and Compose

Learn the configurations needed for Compose to launch WordPress.

Docker Compose configuration

A WordPress project directory named wordpress is a good choice to have our WordPress-related files in. You’ll be using Docker Compose, so we need a docker-compose.yml file in the root of the directory. Edit it as:

Get hands-on with 1200+ tech skills courses.