Set network (#31)

* Set network for automation docker container
This commit is contained in:
Jonas Plum
2022-02-13 20:44:16 +01:00
committed by GitHub
parent 2d817318f2
commit 599b9d3c6e
7 changed files with 29 additions and 8 deletions

View File

@@ -34,6 +34,7 @@ type Config struct {
Auth *AuthConfig
ExternalAddress string
InitialAPIKey string
Network string
}
type Server struct {
@@ -74,7 +75,7 @@ func New(hooks *hooks.Hooks, config *Config) (*Server, error) {
return nil, err
}
err = busservice.New(config.Bus.APIUrl, config.InitialAPIKey, catalystBus, catalystDatabase)
err = busservice.New(config.Bus.APIUrl, config.InitialAPIKey, config.Network, catalystBus, catalystDatabase)
if err != nil {
return nil, err
}