mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-26 02:47:15 +00:00
36 lines
878 B
YAML
36 lines
878 B
YAML
version: "3.8"
|
|
services:
|
|
simple:
|
|
image: traefik/whoami
|
|
|
|
withtcplabels:
|
|
image: traefik/whoamitcp
|
|
command: [ "-name", "my.super.host" ]
|
|
labels:
|
|
traefik.tcp.Routers.Super.Rule: HostSNI(`my.super.host`)
|
|
traefik.tcp.Routers.Super.tls: true
|
|
traefik.tcp.Services.Super.Loadbalancer.server.port: 8080
|
|
|
|
withlabels1:
|
|
image: traefik/whoami
|
|
labels:
|
|
traefik.http.Routers.Super.Rule: Host(`my.super.host`)
|
|
|
|
withlabels2:
|
|
image: traefik/whoami
|
|
labels:
|
|
traefik.http.Routers.SuperHost.Rule: Host(`my-super.host`)
|
|
|
|
withonelabelmissing:
|
|
image: traefik/whoami
|
|
labels:
|
|
traefik.random.value: my.super.host
|
|
|
|
powpow:
|
|
image: traefik/whoami
|
|
command:
|
|
- --port=2375
|
|
labels:
|
|
traefik.http.Routers.Super.Rule: Host(`my.super.host`)
|
|
traefik.http.Services.powpow.LoadBalancer.server.Port: 2375
|