59 lines
No EOL
1.3 KiB
JSON
59 lines
No EOL
1.3 KiB
JSON
{
|
|
"service": {
|
|
"name": "web-api",
|
|
"port": 4000,
|
|
"host": "0.0.0.0",
|
|
"healthCheckPath": "/health",
|
|
"metricsPath": "/metrics",
|
|
"shutdownTimeout": 30000,
|
|
"cors": {
|
|
"enabled": true,
|
|
"origin": ["http://localhost:4200", "http://localhost:3000", "http://localhost:3002"],
|
|
"credentials": true
|
|
}
|
|
},
|
|
"logging": {
|
|
"level": "info",
|
|
"format": "json"
|
|
},
|
|
"database": {
|
|
"postgres": {
|
|
"host": "localhost",
|
|
"port": 5432,
|
|
"database": "trading_bot",
|
|
"user": "trading_user",
|
|
"password": "trading_pass_dev",
|
|
"ssl": false,
|
|
"poolSize": 10,
|
|
"connectionTimeout": 30000,
|
|
"idleTimeout": 10000
|
|
},
|
|
"questdb": {
|
|
"host": "localhost",
|
|
"ilpPort": 9009,
|
|
"httpPort": 9000,
|
|
"pgPort": 8812,
|
|
"database": "questdb",
|
|
"user": "admin",
|
|
"password": "quest",
|
|
"bufferSize": 65536,
|
|
"flushInterval": 1000
|
|
},
|
|
"mongodb": {
|
|
"host": "localhost",
|
|
"port": 27017,
|
|
"database": "stock",
|
|
"user": "trading_admin",
|
|
"password": "trading_mongo_dev",
|
|
"authSource": "admin",
|
|
"poolSize": 10
|
|
},
|
|
"dragonfly": {
|
|
"host": "localhost",
|
|
"port": 6379,
|
|
"db": 0,
|
|
"maxRetries": 3,
|
|
"retryDelay": 100
|
|
}
|
|
}
|
|
} |