Files
opencloud/notifications/pkg/config/defaultconfig.go
kobergj 7973c743f9 use correct nats port (#3230)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-24 16:11:55 +01:00

28 lines
627 B
Go

package config
// NOTE: Most of this configuration is not needed to keep it as simple as possible
// TODO: Clean up unneeded configuration
func DefaultConfig() *Config {
return &Config{
Service: Service{
Name: "notifications",
},
Notifications: Notifications{
SMTP: SMTP{
Host: "127.0.0.1",
Port: "1025",
Sender: "god@example.com",
Password: "godisdead",
},
Events: Events{
Endpoint: "127.0.0.1:9233",
Cluster: "test-cluster",
ConsumerGroup: "notifications",
},
RevaGateway: "127.0.0.1:9142",
MachineAuthSecret: "change-me-please",
},
}
}