community-catalog/templates/traefik/1/docker-compose.yml
Raúl Sánchez e8f86f188b Upgrade zookeeper and traefik packages (#185)
* Upgrade zookeeper to version 3.4.8

* Updated traefik version to v1.0.0. Added new features: ssl, multidomain, import key/cert from metadata, run as traefik user.

* Upgrade kafka to version 0.10.0

* Updated traefik version to v1.0.1. ssl key and crt set as required.

* Updated traefik version to v1.0.1. ssl working modes available.
2016-07-26 09:37:38 -07:00

33 lines
1011 B
YAML

traefik:
ports:
- ${admin_port}:8000/tcp
- ${http_port}:8080/tcp
- ${https_port}:8443/tcp
log_driver: ''
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.sidekicks: traefik-conf
io.rancher.container.hostname_override: container_name
tty: true
log_opt: {}
image: rawmind/alpine-traefik:1.0.1-1
environment:
- CONF_INTERVAL=${refresh_interval}
- TRAEFIK_HTTPS_ENABLE=${https_enable}
volumes_from:
- traefik-conf
traefik-conf:
log_driver: ''
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.container.start_once: 'true'
tty: true
log_opt: {}
image: rawmind/rancher-traefik:0.3.4
net: none