mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-15 22:04:05 +08:00
Merge pull request #170 from meysamhadeli/develop
chore: Update appsettings.docker.json
This commit is contained in:
commit
d4c80b38b8
@ -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": "*"
|
||||
}
|
||||
|
||||
@ -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": "*"
|
||||
}
|
||||
|
||||
@ -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": "*"
|
||||
}
|
||||
|
||||
@ -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": "*"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user