dappnode / DNP_HTTPS

A fully automated HTTPS server powered by Nginx, Let's Encrypt and Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start API immediately

dapplion opened this issue · comments

The current start-up sequence run a setup script first and then the API. The setup script may fail and keep the package in a restarting loop

Screenshot from 2021-02-08 15-18-01

I propose to start the API right away and do the setup at the same time, and in a way that the API is aware of its status. With this approach users can know the status of the package using the API and not the logs

Screenshot from 2021-02-08 15-17-32

Way we do it now was proven to be reliable. Can be reopened if we come across new issues.