meshcat-dev / meshcat-python

WebGL-based 3D visualizer for Python
MIT License
246 stars 59 forks source link

DEFAULT_FILESERVER_PORT not works well with docker + mac #137

Open qlibp opened 1 year ago

qlibp commented 1 year ago

DEFAULT_FILESERVER_PORT=7000 is occupied by mac service, but used as the final port in docker(in docker, it doesn't really know the port get occupied) and I have no way to configure it.

The tricky solution for now is to manually bind different host port to docker 7000 port, e.g. 7777:7000 and then in code, explicitly change the web_url stored to vis object

Here's the result image