Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 543 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 543 Bytes

wordpress-docker-poc

Sample project for testing Docker Compose and Docker Swarm capabilities

Run with Compose

Run

docker-compose up -d

to build and run containers.

To stop and remove containers

docker-compose down -v

Run with Swarm

Once built with Compose, enter Swarm mode if not enabled

docker swarm init

then

docker stack deploy -c docker-compose.yml wp

To remove deployed services

docker stack rm wp

To exit Swarm mode

docker swarm leave --force