Fase 10 — Nuova rotta: solo Docker (#184)
ci / test (postgres) (push) Successful in 4m50s
ci / test (sqlite) (push) Failing after 4m21s
ci / image (push) Skipped

ADR 0021-0026 for the new course of 2 December 2026, roadmap of phases 10-24. The desktop application is gone: Docker is the only form, and outside a container the server runs only for development and tests with --data-dir, on this computer only. Lighter image (829 MB to 410 MB), rotating logs, backtest and learning as one-shot commands.

refs #113 #114 #115 #78 #80 #81

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #184.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-12-03 19:59:00 +01:00
1 parent 3c57b3e84c
commit 1bc7e067fd
96 files changed
+1433 -1606

No files matched your search

-26
View File
@@ -37,32 +37,6 @@
});
});
// First run: PostgreSQL fields only when chosen; "Prova la connessione" without leaving the page.
var wizard = document.querySelector("[data-wizard]");
if (wizard) {
var fields = wizard.querySelector("[data-postgres]");
var engines = wizard.querySelectorAll("[data-engine]");
var showFields = function () {
if (!fields) { return; }
var pg = wizard.querySelector("[data-engine]:checked");
fields.hidden = !(pg && pg.value === "postgres");
};
engines.forEach(function (radio) { radio.addEventListener("change", showFields); });
showFields();
var test = wizard.querySelector("[data-test-connection]");
var result = wizard.querySelector("[data-test-result]");
if (test && result) {
test.addEventListener("click", function (event) {
event.preventDefault();
result.textContent = "Provo…";
fetch("/azioni/primo-avvio/prova", { method: "POST", body: new FormData(wizard), credentials: "same-origin" })
.then(function (response) { return response.json(); })
.then(function (answer) { result.textContent = answer.message; result.className = "test-result " + (answer.ok ? "gain" : "loss"); })
.catch(function () { result.textContent = "Non riesco a fare la prova adesso. Riprova tra poco."; result.className = "test-result loss"; });
});
}
}
// Live status over the WebSocket: bot state, freshness of the data, and a discreet notice when the link drops.
var age = document.querySelector("[data-live='age']");
if (!age || !("WebSocket" in window)) { return; }