Skip to content

Commit

Permalink
create default config with storage and tls
Browse files Browse the repository at this point in the history
  • Loading branch information
kelindar committed Nov 15, 2017
1 parent bbeacb3 commit 0cb6d6b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ const (
func NewDefault() cfg.Config {
return &Config{
ListenAddr: ":8080",
TLS: &cfg.TLSConfig{
ListenAddr: ":8443",
},
Cluster: &ClusterConfig{
ListenAddr: ":4000",
AdvertiseAddr: "public:4000",
Passphrase: "emitter-io",
},
Storage: &cfg.ProviderConfig{
Provider: "inmemory",
},
}
}
Expand Down

0 comments on commit 0cb6d6b

Please sign in to comment.