Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default umbrel-dev to host networking in WSL
On Windows, the dev environment works best with WSL, but doing so adds one more layer of encapsulation. To simplify the process, add a sensible default that undoes one layer by using Docker host networking within WSL, so Umbrel OS is passed through to the WSL interface with no need to publish particular ports within the Docker container. This behavior can be overridden by setting `UMBREL_DEV_OPTIONS` on the command line, which is then preferred over the default. Also adds a new `npm run recreate` command to allow recreating existing instances with the latest WSL network changes applied. --------- Co-authored-by: Luke Childs <lukechilds123@gmail.com>
- Loading branch information