Added traefik.protocol and traefik.domain.regexp service labels. Fix acme syntax issue
This commit is contained in:
parent
00ec226f25
commit
f1060f3936
@ -31,8 +31,11 @@ Traefik labels has to be added in your services, in order to get included in tra
|
|||||||
- true: the service will be published as *service_name.stack_name.traefik_domain*
|
- true: the service will be published as *service_name.stack_name.traefik_domain*
|
||||||
- stack: the service will be published as *stack_name.traefik_domain*. WARNING: You could have collisions inside services within your stack
|
- stack: the service will be published as *stack_name.traefik_domain*. WARNING: You could have collisions inside services within your stack
|
||||||
- false: the service will not be published
|
- false: the service will not be published
|
||||||
|
- traefik.priority = <priority> # Override for frontend priority. 5 by default
|
||||||
|
- traefik.protocol = < http | https > # Override the default http protocol
|
||||||
- traefik.alias = < alias > # Alternate names to route rule. Multiple values separated by ",". WARNING: You could have collisions BE CAREFULL
|
- traefik.alias = < alias > # Alternate names to route rule. Multiple values separated by ",". WARNING: You could have collisions BE CAREFULL
|
||||||
- traefik.domain = < domain > # Domain names to route rule. Multiple values separated by ","
|
- traefik.domain = < domain.name > # Domain names to route rules. Multiple domains separated by ","
|
||||||
|
- traefik.domain.regexp = < domain.regexp > # Domain name regexp rule. Multiple domains separated by ","
|
||||||
- traefik.port = < port > # Port to expose throught traefik
|
- traefik.port = < port > # Port to expose throught traefik
|
||||||
- traefik.acme = < true | false > # Enable/disable ACME traefik feature
|
- traefik.acme = < true | false > # Enable/disable ACME traefik feature
|
||||||
- traefik.path = < path > # Path rule. Multiple values separated by ","
|
- traefik.path = < path > # Path rule. Multiple values separated by ","
|
||||||
|
@ -12,7 +12,7 @@ traefik:
|
|||||||
io.rancher.container.hostname_override: container_name
|
io.rancher.container.hostname_override: container_name
|
||||||
tty: true
|
tty: true
|
||||||
log_opt: {}
|
log_opt: {}
|
||||||
image: rawmind/alpine-traefik:1.1.2
|
image: rawmind/alpine-traefik:1.1.2-1
|
||||||
environment:
|
environment:
|
||||||
- CONF_INTERVAL=${refresh_interval}
|
- CONF_INTERVAL=${refresh_interval}
|
||||||
- TRAEFIK_HTTP_PORT=${http_port}
|
- TRAEFIK_HTTP_PORT=${http_port}
|
||||||
@ -33,7 +33,7 @@ traefik-conf:
|
|||||||
io.rancher.container.start_once: 'true'
|
io.rancher.container.start_once: 'true'
|
||||||
tty: true
|
tty: true
|
||||||
log_opt: {}
|
log_opt: {}
|
||||||
image: rawmind/rancher-traefik:0.3.4-15
|
image: rawmind/rancher-traefik:0.3.4-18
|
||||||
net: none
|
net: none
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/tools
|
- /opt/tools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user