{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning", "Microsoft.EntityFrameworkCore": "Warning" } }, "ConnectionStrings": { "DefaultConnection": "Data Source=littleshop.db" }, "Jwt": { "Key": "${JWT_SECRET_KEY}", "Issuer": "LittleShop", "Audience": "LittleShop-API", "ExpiryMinutes": 60 }, "BTCPayServer": { "ServerUrl": "${BTCPAY_SERVER_URL}", "StoreId": "${BTCPAY_STORE_ID}", "ApiKey": "${BTCPAY_API_KEY}", "WebhookSecret": "${BTCPAY_WEBHOOK_SECRET}" }, "AllowedHosts": "*", "Urls": "http://+:8080", "ForwardedHeaders": { "ForwardedProtoHeaderName": "X-Forwarded-Proto", "ForwardedForHeaderName": "X-Forwarded-For", "ForwardedHostHeaderName": "X-Forwarded-Host" }, "TeleBot": { "ApiUrl": "${TELEBOT_API_URL}", "ApiKey": "${TELEBOT_API_KEY}" }, "Serilog": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ], "MinimumLevel": "Information", "WriteTo": [ { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}" } }, { "Name": "File", "Args": { "path": "/app/logs/littleshop-.log", "rollingInterval": "Day", "retainedFileCountLimit": 7, "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}" } } ] } }