Nodes advertise apps
in-progress
LoRes Node doesn’t manage apps (that’s done via Co-op Cloud) but it does need to know which ones are present. This allows it to present a list of these apps to public users and to node stewards.
This step is a necessary precursor to Regional traffic routing because when the apps are known, they can be registered with the region, allowing for traffic to be routed to them.
What success looks like
- LoRes Node attempts to read all the docker stacks installed
- If LoRes Node can’t connect to the docker socket to list stacks, it’ll explain a friendly error to node stewards, and show an empty page to web users.
- Only apps that are flagged as Co-op cloud apps are listed
- Each app has a link that can be followed to see it
- Co-op cloud recipe connects LoRes app to the docker socket so that the above all works in production