Problems with docker-compose.yml for traefik-v2 (jvb entrypoints / jicofo port)
See original GitHub issueI’m trying to launch this service using the examples/traefik-v2/docker-compose.yml file. I made the following changes before running:
- replace network
webwith traefik’s docker network (traefik_default) - update
traefik.http.routers.app.rulelabel on “web” service to match my own hostname
After completing these steps, I ran these commands and saw these error messages:
$ docker-compose -f examples/traefik-v2/docker-compose.yml up -d
$ docker logs traefik_reverse-proxy_1
level=error msg="service \"jicofo-traefik-v2\" error: port is missing" providerName=docker container=jicofo-traefik-v2-978e931e948edf531c5fdc3fecb99444022a290bd2267c41fb130117de951733
level=error msg="entryPoint \"video\" doesn't exist" routerName=jvb@docker entryPointName=video
level=error msg="no valid entryPoint for this router" routerName=jvb@docker
It appears that there are two problems:
- The sample
docker-compose.ymlreferences a “video” traefik entrypoint that I don’t have defined—but I don’t see any definition of this entrypoint in the docs. - Traefik needs to know which port to talk to the “jicofo” service on. (Alternately, if jicofo doesn’t need to receive any transactions on any ports, maybe it would help to add a
traefik.enable: falselabel to that service?)
@ruby232, I notice you committed this file at the end of March. Any insight on these questions?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Traefik and docker install - Install & Config - developers & users
I have been trying to install Jitsi using Traefik to handle the certificate and routing, but it is returning a bad-gateway message for...
Read more >Add TLS to Traefik 2 router end with unavailable service
I can access whoami service without https configuration but when I add tls to the router labels, it doesn't work anymore. Here is...
Read more >Docker-compose basic example - Traefik Labs documentation
This guide covers a basic docker-compose file exposing a simple service using the docker provider in Traefik Proxy. Read the technical documentation.
Read more >Work-Adventure/install - Technologia Incognita
By default, the docker-compose file provisions the following containers: reverse-proxy: a 'traefik:v2.0' container from the public docker repo's ...
Read more >Deploying Portainer behind Traefik Proxy
In the following docker-compose.yml you will find the configuration for Portainer Traefik with SSL ... "traefik.http.routers.http-catchall.entrypoints=web".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, I figured this out—you need the following block in your
traefik.toml:Will submit a PR later.
FYI: A working example based on
traefik:v2.2.8. Usingtls-challengefor letsencrypt cert.webservice indocker-compose.ymlfile.