-
Notifications
You must be signed in to change notification settings - Fork 6
Deploy Traefik without the Deploy Script
Bekker Stacks edited this page Sep 4, 2019
·
2 revisions
Deploy Traefik in HTTPS. Define your environment variables and deploy the stack
$ export EMAIL=user@domain.com
$ export DOMAIN=mydomain.com
$ docker stack deploy -c docker-compose.yml proxy
Creating network proxy
Creating service proxy_traefik
Deploy Traefik in HTTP only. Define your environment variables and deploy the stack
$ export EMAIL=user@domain.com
$ export DOMAIN=mydomain.com
$ docker stack deploy -c docker-compose_http.yml proxy
Creating network proxy
Creating service proxy_traefik
Stack takes the following environment variables:
- EMAIL=user@domain.com (email for acme)
- DOMAIN=yourdomain.com (base domain)
See docker-compose_http.yml if you are interested in a HTTP only proxy.
Traefik's dashboard should be available on https://traefik.${DOMAIN}