Datacenter no more handle booking but is fully charged with Kube & minio allocate per NATS
This commit is contained in:
5
main.go
5
main.go
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"encoding/base64"
|
||||
"oc-datacenter/conf"
|
||||
"oc-datacenter/infrastructure"
|
||||
_ "oc-datacenter/routers"
|
||||
"os"
|
||||
|
||||
@@ -36,5 +37,9 @@ func main() {
|
||||
conf.GetConfig().MinioRootKey = o.GetStringDefault("MINIO_ADMIN_ACCESS", "")
|
||||
conf.GetConfig().MinioRootSecret = o.GetStringDefault("MINIO_ADMIN_SECRET", "")
|
||||
oclib.InitAPI(appname)
|
||||
|
||||
go infrastructure.ListenNATS()
|
||||
go infrastructure.WatchBookings()
|
||||
|
||||
beego.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user