Skip to content

Commit

Permalink
portainer#65 feat(template): add new Traefik template
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas LÉVEIL committed Apr 25, 2018
1 parent 8f1efec commit 7eed0ee
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -782,5 +782,55 @@
"bind": "/var/run/docker.sock"
}
]
},
{
"type": "container",
"title": "Træfik 1.5",
"description":
"Træfik (pronounced like traffic) is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS, and a lot more) to manage its configuration automatically and dynamically.",
"note": "<a href=\"http://docs.traefik.io/\">Træfik documentation</a>",
"platform": "linux",
"categories": ["reverse proxy"],
"logo":
"https://d33wubrfki0l68.cloudfront.net/e29410f43273a18d40e1bd6e41641f5afdfc8057/eb7ca/traefik.logo.png",
"image": "traefik:1.5-alpine",
"command":
"/bin/sh -c '/usr/local/bin/traefik --docker --docker.domain=${TRAEFIK_BASE_DOMAIN:-docker.localhost} --docker.exposedByDefault=true --entrypoints=\"Name:http Address::${TRAEFIK_PORT_HTTP:-80}\" --entrypoints='Name:https Address::${TRAEFIK_PORT_HTTPS:-443} TLS' --entrypoints='Name:traefik Address::${TRAEFIK_PORT_DASHBOARD:-8080}' --logLevel=WARN --ping --api --api.statistics.recenterrors=20 ",
"network": "host",
"env": [
{
"name": "TRAEFIK_BASE_DOMAIN",
"label": "base domain name",
"description": "Default domain for Traefik (default: docker.localhost)"
},
{
"name": "TRAEFIK_PORT_HTTP",
"label": "HTTP port",
"description":
"Port Traefik will listen on for HTTP traffic (default: 80)"
},
{
"name": "TRAEFIK_PORT_HTTPS",
"label": "HTTPS port",
"description":
"Port Traefik will listen on for HTTPS traffic (default: 443)"
},
{
"name": "TRAEFIK_PORT_DASHBOARD",
"label": "Dashboard port",
"Description":
"Port on which the Traefik dashboard will be available (default: 8080)"
}
],
"volumes": [
{
"container": "/var/run/docker.sock",
"bind": "/var/run/docker.sock"
},
{
"container": "/traefik.toml",
"bind": "/dev/null"
}
]
}
]

0 comments on commit 7eed0ee

Please sign in to comment.