mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-25 14:54:06 +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,
|
"Enabled": true,
|
||||||
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=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": {
|
"RabbitMqOptions": {
|
||||||
"HostName": "rabbitmq",
|
"HostName": "rabbitmq",
|
||||||
"ExchangeName": "booking",
|
"ExchangeName": "booking",
|
||||||
@ -18,9 +25,32 @@
|
|||||||
"Password": "guest",
|
"Password": "guest",
|
||||||
"Port": 5672
|
"Port": 5672
|
||||||
},
|
},
|
||||||
|
"Jwt": {
|
||||||
|
"Authority": "identity:5005",
|
||||||
|
"Audience": "booking-api"
|
||||||
|
},
|
||||||
"Grpc": {
|
"Grpc": {
|
||||||
"FlightAddress": "https://localhost:5003",
|
"FlightAddress": "flight:5003",
|
||||||
"PassengerAddress": "https://localhost: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": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,29 @@
|
|||||||
{
|
{
|
||||||
"App": "Flight-Service",
|
"App": "Flight-Service",
|
||||||
"Logging": {
|
"LogOptions": {
|
||||||
"LogLevel": {
|
"Level": "information",
|
||||||
"Default": "Debug",
|
"LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
|
||||||
"Microsoft.AspNetCore": "Warning"
|
"Elastic": {
|
||||||
|
"Enabled": true,
|
||||||
|
"ElasticServiceUrl": "elasticsearch:9200"
|
||||||
|
},
|
||||||
|
"File": {
|
||||||
|
"Enabled": false,
|
||||||
|
"Path": "logs/logs.txt",
|
||||||
|
"Interval": "day"
|
||||||
|
},
|
||||||
|
"Sentry": {
|
||||||
|
"Enabled": false,
|
||||||
|
"Dsn": "",
|
||||||
|
"MinimumBreadcrumbLevel": "information",
|
||||||
|
"MinimumEventLevel": "error"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"PostgresOptions": {
|
"PostgresOptions": {
|
||||||
"ConnectionString": "Server=postgres;Port=5432;Database=flight;User Id=postgres;Password=postgres;Include Error Detail=true"
|
"ConnectionString": "Server=postgres;Port=5432;Database=flight;User Id=postgres;Password=postgres;Include Error Detail=true"
|
||||||
},
|
},
|
||||||
"Jwt": {
|
"Jwt": {
|
||||||
"Authority": "https://localhost:5005",
|
"Authority": "identity:5005",
|
||||||
"Audience": "flight-api"
|
"Audience": "flight-api"
|
||||||
},
|
},
|
||||||
"RabbitMq": {
|
"RabbitMq": {
|
||||||
@ -25,5 +38,9 @@
|
|||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=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": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,5 +15,28 @@
|
|||||||
"Password": "guest",
|
"Password": "guest",
|
||||||
"Port": 5672
|
"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": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,9 +9,13 @@
|
|||||||
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=true"
|
"ConnectionString": "Server=postgres;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=true"
|
||||||
},
|
},
|
||||||
"Jwt": {
|
"Jwt": {
|
||||||
"Authority": "https://localhost:5005",
|
"Authority": "identity:5005",
|
||||||
"Audience": "passenger-api"
|
"Audience": "passenger-api"
|
||||||
},
|
},
|
||||||
|
"MongoOptions": {
|
||||||
|
"ConnectionString": "mongodb://mongo:27017",
|
||||||
|
"DatabaseName": "passenger-db"
|
||||||
|
},
|
||||||
"RabbitMqOptions": {
|
"RabbitMqOptions": {
|
||||||
"HostName": "rabbitmq",
|
"HostName": "rabbitmq",
|
||||||
"ExchangeName": "passenger",
|
"ExchangeName": "passenger",
|
||||||
@ -19,5 +23,24 @@
|
|||||||
"Password": "guest",
|
"Password": "guest",
|
||||||
"Port": 5672
|
"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": "*"
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user