Преглед изворни кода

feat: add database configuration for multiple environments

Add Sequelize database configuration for development, test, and production environments

- Configure PostgreSQL connection settings for all environments
- Set up consistent database credentials across dev/test/prod
- Include proper host, port, and dialect specifications
- Enable environment-specific database connections for the market data service
uzairrizwan1 пре 9 месеци
родитељ
комит
2277f01acf
1 измењених фајлова са 13 додато и 7 уклоњено
  1. 13 7
      config/config.json

+ 13 - 7
config/config.json

@@ -1,20 +1,26 @@
 {
   "development": {
-    "username": "market_user",
-    "password": "market_password",
-    "database": "market_data",
+    "username": "postgres",
+    "password": "mqldev@123",
+    "database": "financial_data",
     "host": "127.0.0.1",
+    "port": 5432,
     "dialect": "postgres"
   },
   "test": {
-    "username": "market_user",
-    "password": "market_password",
-    "database": "market_data",
+    "username": "postgres",
+    "password": "mqldev@123",
+    "database": "financial_data",
     "host": "127.0.0.1",
+    "port": 5432,
     "dialect": "postgres"
   },
   "production": {
-    "use_env_variable": "DATABASE_URL",
+    "username": "postgres",
+    "password": "mqldev@123",
+    "database": "financial_data",
+    "host": "127.0.0.1",
+    "port": 5432,
     "dialect": "postgres"
   }
 }