Explorar el Código

exampless: update Traefik v2 example with UDP

Calvin Bui hace 5 años
padre
commit
e1b47db
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 1 1
      examples/traefik-v2/README.md
  2. 4 0
      examples/traefik-v2/docker-compose.yml

+ 1 - 1
examples/traefik-v2/README.md

@@ -1,6 +1,6 @@
 # Basic configuration to use with the traefik reverse proxy
 
-Note: Tested with traefik 2.1.3
+Note: Tested with traefik 2.2.0
 
 - When running behind traefik, it's a better practice to remove the port-binds for the web service.
 - The provided example uses an external network with the name "web". This is the network which moste likely was created while setting up traefik.

+ 4 - 0
examples/traefik-v2/docker-compose.yml

@@ -165,6 +165,10 @@ services:
             - prosody
         networks:
             meet.jitsi:
+        labels:
+            traefik.udp.routers.jvb.entrypoints: video
+            traefik.udp.routers.jvb.service: jvb
+            traefik.udp.services.jvb.loadbalancer.server.port: 10000
 
 # Custom network so all services can communicate using a FQDN
 networks: