Skip to content
Simple stack for testing Docker Compose and Docker Swarm
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mysql
README.md
docker-compose.yml

README.md

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
You can’t perform that action at this time.