Merge pull request #170 from meysamhadeli/develop

chore: Update appsettings.docker.json
This commit is contained in:
Meysam Hadeli 2023-02-08 23:03:24 +03:30 committed by GitHub
commit d4c80b38b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 101 additions and 8 deletions

View File

@ -11,6 +11,13 @@
"Enabled": true,
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=true"
},
"EventStore": {
"ConnectionString": "esdb://eventstore:2113?tls=false"
},
"MongoOptions": {
"ConnectionString": "mongodb://mongo:27017",
"DatabaseName": "booking-db"
},
"RabbitMqOptions": {
"HostName": "rabbitmq",
"ExchangeName": "booking",
@ -18,9 +25,32 @@
"Password": "guest",
"Port": 5672
},
"Jwt": {
"Authority": "identity:5005",
"Audience": "booking-api"
},
"Grpc": {
"FlightAddress": "https://localhost:5003",
"PassengerAddress": "https://localhost:5003"
"FlightAddress": "flight:5003",
"PassengerAddress": "passenger:5003"
},
"LogOptions": {
"Level": "information",
"LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
"Elastic": {
"Enabled": true,
"ElasticServiceUrl": "elasticsearch:9200"
},
"File": {
"Enabled": false,
"Path": "logs/logs.txt",
"Interval": "day"
},
"Sentry": {
"Enabled": false,
"Dsn": "",
"MinimumBreadcrumbLevel": "information",
"MinimumEventLevel":"error"
}
},
"AllowedHosts": "*"
}

View File

@ -1,16 +1,29 @@
{
"App": "Flight-Service",
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft.AspNetCore": "Warning"
"LogOptions": {
"Level": "information",
"LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
"Elastic": {
"Enabled": true,
"ElasticServiceUrl": "elasticsearch:9200"
},
"File": {
"Enabled": false,
"Path": "logs/logs.txt",
"Interval": "day"
},
"Sentry": {
"Enabled": false,
"Dsn": "",
"MinimumBreadcrumbLevel": "information",
"MinimumEventLevel": "error"
}
},
"PostgresOptions": {
"ConnectionString": "Server=postgres;Port=5432;Database=flight;User Id=postgres;Password=postgres;Include Error Detail=true"
},
"Jwt": {
"Authority": "https://localhost:5005",
"Authority": "identity:5005",
"Audience": "flight-api"
},
"RabbitMq": {
@ -25,5 +38,9 @@
"Enabled": true,
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=true"
},
"MongoOptions": {
"ConnectionString": "mongodb://mongo:27017",
"DatabaseName": "flight-db"
},
"AllowedHosts": "*"
}

View File

@ -15,5 +15,28 @@
"Password": "guest",
"Port": 5672
},
"Jwt": {
"Authority": "identity:5005",
"Audience": "identity-api"
},
"LogOptions": {
"Level": "information",
"LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
"Elastic": {
"Enabled": true,
"ElasticServiceUrl": "elasticsearch:9200"
},
"File": {
"Enabled": false,
"Path": "logs/logs.txt",
"Interval": "day"
},
"Sentry": {
"Enabled": false,
"Dsn": "",
"MinimumBreadcrumbLevel": "information",
"MinimumEventLevel":"error"
}
},
"AllowedHosts": "*"
}

View File

@ -9,9 +9,13 @@
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=true"
},
"Jwt": {
"Authority": "https://localhost:5005",
"Authority": "identity:5005",
"Audience": "passenger-api"
},
"MongoOptions": {
"ConnectionString": "mongodb://mongo:27017",
"DatabaseName": "passenger-db"
},
"RabbitMqOptions": {
"HostName": "rabbitmq",
"ExchangeName": "passenger",
@ -19,5 +23,24 @@
"Password": "guest",
"Port": 5672
},
"LogOptions": {
"Level": "information",
"LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
"Elastic": {
"Enabled": true,
"ElasticServiceUrl": "elasticsearch:9200"
},
"File": {
"Enabled": false,
"Path": "logs/logs.txt",
"Interval": "day"
},
"Sentry": {
"Enabled": false,
"Dsn": "",
"MinimumBreadcrumbLevel": "information",
"MinimumEventLevel":"error"
}
},
"AllowedHosts": "*"
}