Files
SomniaGuestLog/src/Somnia.GuestLog/appsettings.json
T
Daniel-Garmig dcd5bb2aad Deploy configuration
- Added tasks for publishing as container image.
- Improvements for deployment: Db migrations on startup, reverse-proxy forward headers, and DataProtect management.
- Added deploy example using docker-compose.
2026-09-09 17:50:27 +02:00

29 lines
898 B
JSON

{
"ConnectionStrings": {
"DbSomniaGuestLog": "Host=localhost;Port=5432;Username=postgres;Password=P@ssw0rd;Database=SomniaGuestLog"
},
"RunDatabaseMigrationOnStartup": true,
"DataProtectionDir": "/SomniaGuestLog/dataprotection",
"AllowedHosts": "*",
"AddressQuery": {
"EnableAddressQuery": true,
// Nominatim
"Provider": "Nominatim",
"ServiceURL": "https://nominatim.openstreetmap.org/",
// Google Map API
// "Provider": "GoogleApiV4",
// "ServiceURL": "https://geocode.googleapis.com/v4/",
"ApiKey": "",
"UserAgent": "Somnia-GuestLog-Dev",
"ResultLang": "es"
},
"StayExport": {
"EnableStayExport": true,
"ExportStorageConnectionString": "disk://path=/SomniaGuestLog/StayExportFiles",
"UseSubdirectoryByFormat": true
},
"StayExportSpainParteViajeros": {
"InternetAvailable": true,
"CodigoEstablecimiento": ""
}
}