- Configurazione Kestrel ottimizzata per ambienti Docker/Unraid: porta 8080 in produzione, HTTPS redirect solo in sviluppo - Endpoint /health sempre attivo per healthcheck automatici - Aggiunti file docker-compose.yml e unraid-template.xml per deploy e gestione nativa su Unraid (senza Portainer) - Nuova guida UNRAID_NATIVE_INSTALL.md per installazione, update e troubleshooting su Unraid - Logging e appsettings separati per Development/Production - launchSettings.json aggiornato e semplificato - Rimosso package Azure Containers Tools dal csproj; aggiunto target MSBuild per push automatico su Gitea Registry dopo publish - Algoritmo SMA più robusto: filtra dati nulli/invalidi e gestisce casi di dati insufficienti - Pronto per deploy professionale, aggiornamento e gestione semplificata in ambienti containerizzati
35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/launchsettings.json",
|
|
"profiles": {
|
|
"TradingBot": {
|
|
"commandName": "Project",
|
|
"dotnetRunMessages": true,
|
|
"launchBrowser": true,
|
|
"applicationUrl": "http://localhost:5243",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
}
|
|
},
|
|
"TradingBot (HTTPS)": {
|
|
"commandName": "Project",
|
|
"dotnetRunMessages": true,
|
|
"launchBrowser": true,
|
|
"applicationUrl": "https://localhost:7241;http://localhost:5243",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
}
|
|
},
|
|
"Docker": {
|
|
"commandName": "Docker",
|
|
"launchBrowser": true,
|
|
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_URLS": "http://+:8080",
|
|
"ASPNETCORE_ENVIRONMENT": "Production"
|
|
},
|
|
"publishAllPorts": true,
|
|
"useSSL": false
|
|
}
|
|
}
|
|
}
|