fix(demo): fix demo init data

This commit is contained in:
Anthony Lapenna
2018-03-03 10:31:09 +10:00
parent 1fa8921c11
commit 6a8fc253bd
+6
View File
@@ -77,6 +77,12 @@ func initDemoData(store *bolt.Store, cryptoService portainer.CryptoService) erro
Name: "local",
URL: "unix:///var/run/docker.sock",
PublicURL: "demo.portainer.io",
TLSConfig: portainer.TLSConfiguration{
TLS: false,
},
AuthorizedUsers: []portainer.UserID{},
AuthorizedTeams: []portainer.TeamID{},
Extensions: []portainer.EndpointExtension{},
}
err = store.EndpointService.CreateEndpoint(localEndpoint)