fixing some issues
This commit is contained in:
22
config.go
22
config.go
@@ -12,21 +12,15 @@ func ReadConfig() (*viper.Viper, error) {
|
||||
"dev_env": false,
|
||||
"storage": map[string]any{
|
||||
"db": map[string]any{
|
||||
"type": "mongodb",
|
||||
"mongodb": map[string]any{
|
||||
"host": "localhost",
|
||||
"port": "27017",
|
||||
"db_name": "coopgo_platform",
|
||||
"collections": map[string]any{
|
||||
"users": "users",
|
||||
},
|
||||
},
|
||||
"type": "psql",
|
||||
"psql": map[string]any{
|
||||
"host": "localhost",
|
||||
"port": "5432",
|
||||
"dbname": "coopgo_platform",
|
||||
"sslmode": "disable",
|
||||
"schema": "mobilityaccounts",
|
||||
"user": "postgres",
|
||||
"password": "postgres",
|
||||
"host": "localhost",
|
||||
"port": "5432",
|
||||
"dbname": "coopgo_platform",
|
||||
"sslmode": "disable",
|
||||
"schema": "mobilityaccounts",
|
||||
"tables": map[string]any{
|
||||
"accounts": "accounts",
|
||||
"accounts_auth_local": "accounts_auth_local",
|
||||
|
||||
Reference in New Issue
Block a user