hmn/src/config/config.go.example

22 lines
446 B
Plaintext
Raw Normal View History

2021-03-09 08:05:07 +00:00
package config
var Config = HMNConfig{
2021-05-04 09:24:31 +00:00
Env: Dev,
Addr: ":9001",
BaseUrl: "http://handmade.local:9001",
2021-05-06 09:12:18 +00:00
LogLevel: zerolog.TraceLevel,
2021-03-09 08:05:07 +00:00
Postgres: PostgresConfig{
User: "hmn",
Password: "password",
Hostname: "handmade.local",
Port: 5454,
DbName: "hmn",
MinConn: 2, // Keep these low for dev, high for production
MaxConn: 2,
2021-03-09 08:05:07 +00:00
},
2021-05-04 13:23:02 +00:00
Auth: AuthConfig{
CookieDomain: ".handmade.local",
CookieSecure: false,
},
2021-03-09 08:05:07 +00:00
}