Skip to content
Traefik Stack for Docker Swarm
Shell
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.
guide
samples
README.md
deploy.sh
destroy.sh
docker-compose.yml
docker-compose_http.yml
htpasswd

README.md

bekkerstacks: traefik

Traefik Stack for Docker Swarm with SSL

Requirement:

If you don't have swarm enabled, you can setup swarm with docker in docker

Usage

To deploy Traefik in HTTPS mode using the deploy script:

$ EMAIL=me@mydomain.com DOMAIN=mydomain.com PROTOCOL=https bash deploy.sh
Username for Traefik UI: ruan
Password for Traefik UI: deploying traefik stack in http mode
Creating network public
Creating config proxy_traefik_htpasswd
Creating service proxy_traefik
Traefik UI is available at:
- http://traefik.localhost

To deploy Traefik in HTTP mode using the deploy script:

$ DOMAIN=localhost PROTOCOL=http bash deploy.sh
Username for Traefik UI: ruan
Password for Traefik UI: deploying traefik stack in https mode
Creating network public
Creating config proxy_traefik_htpasswd
Creating service proxy_traefik
Traefik UI is available at:
- https://traefik.mydomain.com

Documentation

Deploying Traefik with the deploy script:

Deploying Traefik without the deploy script:

Deploy a Sample Application:

You can’t perform that action at this time.