Changing the external Url for self host webstudio instance
Changing the external Url for self host webstudio instance
At a glance
The community member is hosting a webstudio instance on their own machine using Docker, but they are having trouble setting up the Github OAuth app because the localhost:3000 URL doesn't work when they're not using the machine hosting the Docker container. They want to know how to change the external URL to either a public IP or a domain name, so they can use the Github Auth with other machines and remove the port 5173 from the URL. They also want to know how to enable SSL (https://).
The comments suggest that the community members feel the documentation could be improved, and they discuss the use of .env files and the node --env-file command to set environment variables.
Hey developers, my group is hosting a webstudio instance on our own machine, and we so far followed the official dev doc to install it with docker. However, I noticed that in the .env file there isn't a place for me to change the external url of my instance, although it does work somehow through port forwarding, but we had a hard time setting up the Github Oauth app because localhost:3000 won't work once we are not using the machine hosting the docker. So my question is how do we change the external url to either a public IP or a domain name, so we can use the Github Auth with other machines and we may also abandon the port 5173 at the end of the url when accessing (With a subdomain, Nginx is able to do that I suppose, my other nodejs projects can work that way) Also, How do I enable SSL (https://) ? It will be amazing if someone would like to help! thanks!