Hi,
new to the product, but has successfully installed and worked with it on CentOS servers. However, we want to run development locally and use Docker for this.
Created a simple docker compose:
image: flashphoner/webcallserver:latest
ports:
- "22:22"
- "8443:8443"
- "8444:8444"
- "30000-33000:30000-30000/udp"
environment:
PASSWORD: "xxx"
LICENSE: "xxx"
volumes:
- ./docker-data/flashphoner:/conf
Connecting to https://localhost:8444/admin/demo.html works fine. And the websocket works fine.
But, when the ICE candidates comes back they include the container IP and a lot of other local IPs (including the external IP of the developers network), BUT since Docker (on Windows atleast) doesn't provide a way to communicate with the container IP directly (the calls must be done to localhost), the connection fails.
More details on the Docker for windows situation here: https://github.com/docker/for-win/issues/221
On windows it's also not possible to run network mode HOST
So, my question is this: is there a way to have "localhost" included as an ICE candidate? Then Docker will be able to forward the connection properly (tested with netcat and debug inside container on port 31001)
Thanks!
new to the product, but has successfully installed and worked with it on CentOS servers. However, we want to run development locally and use Docker for this.
Created a simple docker compose:
image: flashphoner/webcallserver:latest
ports:
- "22:22"
- "8443:8443"
- "8444:8444"
- "30000-33000:30000-30000/udp"
environment:
PASSWORD: "xxx"
LICENSE: "xxx"
volumes:
- ./docker-data/flashphoner:/conf
Connecting to https://localhost:8444/admin/demo.html works fine. And the websocket works fine.
But, when the ICE candidates comes back they include the container IP and a lot of other local IPs (including the external IP of the developers network), BUT since Docker (on Windows atleast) doesn't provide a way to communicate with the container IP directly (the calls must be done to localhost), the connection fails.
More details on the Docker for windows situation here: https://github.com/docker/for-win/issues/221
On windows it's also not possible to run network mode HOST
So, my question is this: is there a way to have "localhost" included as an ICE candidate? Then Docker will be able to forward the connection properly (tested with netcat and debug inside container on port 31001)
Thanks!