DEPRECATED: Use the community maintained https://tangled.sh/@tangled.sh/knot-docker instead

Quick instructions:

  • run gen-key.sh to generate an ssh host key
  • set the server name in both conf/Caddyfile and in knot.env.template
  • register a knot on tangled.sh and put the secret key in knot.env.template
  • spin up the container and test that it works

The default service runs the ssh daemon on port 2222, so I use something like this in my ~/.ssh/config to make it more seamless.

Host git.recoil.org
  User git
  Port 2222

Buyer beware, this is a very new and untested setup for alpha software, so don't commit any overly precious code to this.

-- Anil Madhavapeddy anil@recoil.org