Putting docker container behind a treafik reverse proxy #399
-
I have many services working on docker with traefik as my reverse proxy. I have tried to set this up pointing traefik at port 8000. I can get to the interface, but the games list is blank. I am not sure where to look for errors. I have tried looking in docker logs for this container and for the traefik docker. I have also looked at the developer console in Chrome. I found not errors in any of them. Has anyone gotten this to run behind a reverse proxy (hopefully traefik)? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 25 replies
-
If you look at the Docker Compose example: Lines 8 to 19 in 167071a In addition to one HTTP port 8000 of coordinator, there is one UDP port 8443 for worker (port 9000 doesn't matter). WebRTC connection and streaming won't be possible without it, so make sure this additional port is reachable on your server. All the logs should be visible in the console if Also I added some error reporting when WebRTC ICE stuff fails after a 30 sec timeout. |
Beta Was this translation helpful? Give feedback.
-
Maybe try it with |
Beta Was this translation helpful? Give feedback.
-
IP adresses only.
I wrote this thing some time ago https://github.com/sergystepanov/webrtc-troubleshooting. Basically, this is WebRTC part of the retro but all those options can be changed on the fly. |
Beta Was this translation helpful? Give feedback.
-
In short, I assume, there is a problem in your UDP ingress config what makes this port (or IP) unreachable from the client. And the only theoretically useful option here is |
Beta Was this translation helpful? Give feedback.
I was able to solve this by using ICEIPMAP of my server's LAN address, and forwarding the UDP port in the docker compose file. I think that is all. I made a lot of back and forth changes.