From c65556fa6b9752085d603d0c6aef514acd9ec92b Mon Sep 17 00:00:00 2001 From: cryptooda Date: Tue, 14 May 2024 19:15:34 +0700 Subject: [PATCH] Add prod env config --- .../appsettings.Prod.json | 24 +++++++++++++ src/Managing.Api/appsettings.Prod.json | 34 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 src/Managing.Api.Workers/appsettings.Prod.json create mode 100644 src/Managing.Api/appsettings.Prod.json diff --git a/src/Managing.Api.Workers/appsettings.Prod.json b/src/Managing.Api.Workers/appsettings.Prod.json new file mode 100644 index 0000000..c5fe1bd --- /dev/null +++ b/src/Managing.Api.Workers/appsettings.Prod.json @@ -0,0 +1,24 @@ +{ + "ManagingDatabase": { + "ConnectionString": "mongodb://srv-captain--mongo-db:27017", + "DatabaseName": "ManagingDb" + }, + "InfluxDb": { + "Url": "https://influx-db.apps.managing.live/:8086/", + "Organization": "", + "Token": "" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Information", + "System": "Warning" + } + } + }, + "ElasticConfiguration": { + "Uri": "http://localhost:9200" + }, + "AllowedHosts": "*" +} \ No newline at end of file diff --git a/src/Managing.Api/appsettings.Prod.json b/src/Managing.Api/appsettings.Prod.json new file mode 100644 index 0000000..ae81153 --- /dev/null +++ b/src/Managing.Api/appsettings.Prod.json @@ -0,0 +1,34 @@ +{ + "ManagingDatabase": { + "ConnectionString": "mongodb://srv-captain--mongo-db:27017", + "DatabaseName": "ManagingDb" + }, + "InfluxDb": { + "Url": "https://influx-db.apps.managing.live/:8086/", + "Organization": "", + "Token": "" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Information", + "System": "Warning" + } + } + }, + "ElasticConfiguration": { + "Uri": "http://elasticsearch:9200" + }, + "Discord": { + "ApplicationId": "", + "PublicKey": "", + "TokenId": "", + "SignalChannelId": 966080506473099314, + "TradesChannelId": 998374177763491851, + "TroublesChannelId": 1015761955321040917, + "RequestsChannelId": 1018589494968078356, + "ButtonExpirationMinutes": 2 + }, + "AllowedHosts": "*" +} \ No newline at end of file