I'm trying to start learning how roam extensions are built but I am trying to keep the dev environment in docker containers. I have managed to build and launch the dev server for my test extension as per the instructions. However, because this is executed inside a docker container, and the host is hardcoded to 127.0.0.1, I cannot connect to it from outside the container, even with the right port bindings in place.
For this scenario, I'd like to set the host to 0.0.0.0 as instructed here. Ideally without having to patch these dependencies.
Would you consider adding a new command-line option or even env var to allow overriding the webpack dev server host? or even even a flag to set it to 0.0.0.0?
I'm trying to start learning how roam extensions are built but I am trying to keep the dev environment in docker containers. I have managed to build and launch the dev server for my test extension as per the instructions. However, because this is executed inside a docker container, and the host is hardcoded to
127.0.0.1
, I cannot connect to it from outside the container, even with the right port bindings in place.For this scenario, I'd like to set the host to
0.0.0.0
as instructed here. Ideally without having to patch these dependencies.Would you consider adding a new command-line option or even env var to allow overriding the webpack dev server host? or even even a flag to set it to
0.0.0.0
?Thanks.