Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Latest commit

 

History

History

docker_swarm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Docker swarm

Run the demo

  1. git clone git@github.com:acouvreur/traefik-ondemand-plugin.git
  2. cd traefik-ondemand-plugin/examples/docker_swarm
  3. docker swarm init
  4. export TRAEFIK_PILOT_TOKEN=...
  5. docker stack deploy -c docker-stack.yml DOCKER_SWARM
  6. Load http://localhost/nginx
  7. Wait 1 minute
  8. Service is scaled to 0/0