KotoLLC/peacenik

Easier hub registration

Closed this issue · 3 comments

Some complaints from friends about hosting a hub and having to create a domain name, mess with DNS etc.

Can we use caddy, and register and IP address instead?

When the user goes to register their server, they send an IP address instead of a domain (API call is fine for now). The central hub creates an A record, points it to the IP address and verifies that it's running (or fails).

@mreider

  1. Supported operation systems?
  2. Why you want to store data locally (Sqlite) but store media (much more size) remotely?
  3. How the local binaries will be updated?
  4. How the local binaries will be started (for example, on OS startup)?

Ok, I re-wrote the story @falconandy. Let's just run docker-compose for the hub, run caddy, run postgres, minio, and allow the user to register an IP address, instead of a domain name.

Closed this story in favor of #171