fixing some issues

This commit is contained in:
2023-07-18 12:38:07 +02:00
parent bac60f049f
commit bde22b9ce9
6 changed files with 30 additions and 47 deletions

View File

@@ -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",