added traefik catalog package

This commit is contained in:
Raul Sanchez
2016-05-09 20:21:42 +02:00
parent 19c33d9bb3
commit ee8090e0f9
5 changed files with 449 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
traefik:
ports:
- ${admin_port}:${admin_port}/tcp
- ${http_port}:${http_port}/tcp
log_driver: ''
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: traefik_lb=true
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.0-beta.555-6
environment:
- TRAEFIK_HTTP_PORT=${http_port}
- TRAEFIK_ADMIN_PORT=${admin_port}
- CONF_INTERVAL=${refresh_interval}
volumes_from:
- traefik-conf
traefik-conf:
log_driver: ''
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: traefik_lb=true
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.0.1-10
net: none