Closed
Description
Is there a way to auto-start code-server link without the --link flag? Perhaps we could add to config.yaml
?
I'd love to work on a script to attach code-server + --link
to a server and have it run on start. That way, people could set up a remote VM with code-server by doing:
- create VM
- paste install script into the web shell (DigitalOcean, Linode, AWS)
- navigate to
--link
URL and access their code-server. At any time, code-server can now be accessed via the coder URL.
This would eliminate the need to further configure the server (set up ssh keys, docker, etc) and instead use code-server as the primary access point to the server. Similar to sshcode, but with a domain and TLS set up too and no need to manage SSH keys :)