ソースを参照

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 3 ヶ月 前
コミット
2277f01acf
共有1 個のファイルを変更した13 個の追加7 個の削除を含む
  1. 13 7
      config/config.json

+ 13 - 7
config/config.json

@@ -1,20 +1,26 @@
1 1
 {
2 2
   "development": {
3
-    "username": "market_user",
4
-    "password": "market_password",
5
-    "database": "market_data",
3
+    "username": "postgres",
4
+    "password": "mqldev@123",
5
+    "database": "financial_data",
6 6
     "host": "127.0.0.1",
7
+    "port": 5432,
7 8
     "dialect": "postgres"
8 9
   },
9 10
   "test": {
10
-    "username": "market_user",
11
-    "password": "market_password",
12
-    "database": "market_data",
11
+    "username": "postgres",
12
+    "password": "mqldev@123",
13
+    "database": "financial_data",
13 14
     "host": "127.0.0.1",
15
+    "port": 5432,
14 16
     "dialect": "postgres"
15 17
   },
16 18
   "production": {
17
-    "use_env_variable": "DATABASE_URL",
19
+    "username": "postgres",
20
+    "password": "mqldev@123",
21
+    "database": "financial_data",
22
+    "host": "127.0.0.1",
23
+    "port": 5432,
18 24
     "dialect": "postgres"
19 25
   }
20 26
 }