Baked acme.sh into binary and use it when required, removed docker healthcheck

This commit is contained in:
Jamie Curnow
2021-07-15 15:00:28 +10:00
parent 4d3dfdfa8a
commit 17a5454b7a
8 changed files with 86 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ import (
"os/signal"
"syscall"
"npm/internal/acme"
"npm/internal/api"
"npm/internal/config"
"npm/internal/database"
@@ -26,6 +27,7 @@ func main() {
setting.ApplySettings()
database.CheckSetup()
go worker.StartCertificateWorker(appstate)
acme.WriteAcmeSh()
api.StartServer()
irqchan := make(chan os.Signal, 1)