mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-28 16:06:38 +01:00
git-subtree-dir: plugins/traefik git-subtree-mainline:1a14070131git-subtree-split:aef1f9e0dd
12 lines
353 B
Markdown
12 lines
353 B
Markdown
# 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 |