diff --git a/src/Services/Booking/src/Booking.Api/appsettings.docker.json b/src/Services/Booking/src/Booking.Api/appsettings.docker.json index cb7fe4c..19fad71 100644 --- a/src/Services/Booking/src/Booking.Api/appsettings.docker.json +++ b/src/Services/Booking/src/Booking.Api/appsettings.docker.json @@ -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": "*" } diff --git a/src/Services/Flight/src/Flight.Api/appsettings.docker.json b/src/Services/Flight/src/Flight.Api/appsettings.docker.json index 14bba68..1c2d3fd 100644 --- a/src/Services/Flight/src/Flight.Api/appsettings.docker.json +++ b/src/Services/Flight/src/Flight.Api/appsettings.docker.json @@ -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": "*" } diff --git a/src/Services/Identity/src/Identity.Api/appsettings.docker.json b/src/Services/Identity/src/Identity.Api/appsettings.docker.json index 895b198..0042496 100644 --- a/src/Services/Identity/src/Identity.Api/appsettings.docker.json +++ b/src/Services/Identity/src/Identity.Api/appsettings.docker.json @@ -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": "*" } diff --git a/src/Services/Passenger/src/Passenger.Api/appsettings.docker.json b/src/Services/Passenger/src/Passenger.Api/appsettings.docker.json index 377e5a7..73e5410 100644 --- a/src/Services/Passenger/src/Passenger.Api/appsettings.docker.json +++ b/src/Services/Passenger/src/Passenger.Api/appsettings.docker.json @@ -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": "*" }