For this new edition of docker-compose the network `caddy_net` is being used here. The syntax has changed quite a bit since docker compose v2 came out.
And `docker-compose up -d` is now just `docker compose up -d` in v2.
When you are done creating these 3 files, editing caddy, and reloading caddy... Make sure you're in the wordpress folder and do a `docker-compose up -d` to turn it on. Just imagine each folder as one container. You have to `docker-compose up` inside each container folders to start it. To stop it do a `docker-compose down`. To view all your running containers do a `docker container ls`. More commands are referenced [here](https://github.com/StarWhiz/docker_deployment_notes#quick-references-and-notes)