Phase 10: new course and Docker only
Record the course the user chose on 2 December 2026 and make the container the only form of Anubis. - ADR 0021-0026: new roadmap (phases 10-24, readings per phase, the spec-to-ADR table, merge and tag only after the user's yes), Docker only, maths-only decisions, bans turned into limits on margin accounts, eToro Demo as currency venue and forward tests, strategy championship. ROADMAP rewritten from phase 10; STATE, CLAUDE.md, SVILUPPO, README, API-NOTES and the manuals without the desktop. - Remove the desktop: Anubis.Desktop, Anubis.Setup, deploy/windows, release-win and desktop-win, config.toml, PlatformKind, ANUBIS_PLATFORM, DPAPI with the ProtectedData package and the first-run wizard. Outside a container the server needs --data-dir, listens on 127.0.0.1 only and refuses foreign hosts; server and guard refuse --platform desktop with an Italian message and exit code 2. The demo keeps its key in a file and its error-page choices need no startup password. The diagnostics report says where the server runs from its own environment. - Lighter image: restore and publish for linux-x64 only, and leave out the Windows libraries ONNX Runtime copies anyway (829 MB to 410 MB on disk, /app from 282 MB to 42 MB). Rotating Docker logs in the Unraid template, the manual and the compose; backtest and learning run as one-shot commands. tasks dev uses artifacts/dev-data. refs #113 #114 #115 #78 #80 #81 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3c57b3e84c
commit
e9ac6dccc9
95 files changed
+1426
-1604
No files matched your search
+16
-1
@@ -106,6 +106,7 @@ docker load -i anubis-immagine.tar
|
||||
|
||||
```sh
|
||||
docker run -d --name anubis --restart unless-stopped --memory=4g --stop-timeout 60 \
|
||||
--log-opt max-size=10m --log-opt max-file=3 \
|
||||
-p 8787:8787 --env-file /mnt/user/appdata/anubis.env \
|
||||
-v /mnt/user/appdata/anubis:/data \
|
||||
gitea.encke-hake.ts.net/balbosoft/anubis:latest
|
||||
@@ -170,7 +171,7 @@ La cartella dei dati serve anche con PostgreSQL: contiene salvataggi, storico di
|
||||
- **Cartella dei dati**: `/mnt/user/appdata/anubis`. Con SQLite controlla che la condivisione `appdata` stia sulla cache o su un disco, mai su una condivisione remota.
|
||||
- **Soldi veri consentiti** (tra gli avanzati): lascia `0`.
|
||||
4. **Apply**. Se Unraid non trova l'immagine, vedi [2.3](#23-avere-limmagine): con la strada b) l'immagine è già sul server e Unraid usa quella.
|
||||
5. Il template imposta già memoria, riavvio automatico e i 60 secondi per lo spegnimento. Se Unraid ferma il container prima (Settings → Docker, **Docker container stop timeout**), porta anche quel valore a 60.
|
||||
5. Il template imposta già memoria, riavvio automatico, i 60 secondi per lo spegnimento e la rotazione dei registri di Docker (al massimo tre file da 10 MB). Se Unraid ferma il container prima (Settings → Docker, **Docker container stop timeout**), porta anche quel valore a 60.
|
||||
|
||||
Se Unraid non mostra l'icona, il repository non è leggibile senza accesso: non cambia nulla nel funzionamento.
|
||||
|
||||
@@ -370,6 +371,20 @@ Serve di rado: i salvataggi fanno già lo stesso. I comandi usano il file `anubi
|
||||
|
||||
Con una rete personalizzata aggiungi `--network …` ai due comandi.
|
||||
|
||||
### 5.7 Portare nel container i dati della prova su Windows
|
||||
|
||||
Fino alla Fase 9 (tag `fase-9`) c'era una versione di prova per Windows, costruita con `tasks release-win`. Dalla Fase 10 Anubis esiste solo come container (ADR 0022). Se vuoi tenere i dati di quella prova:
|
||||
|
||||
1. Chiudi Anubis su Windows. Dalla cartella in cui avevi scompattato la versione di prova, in un terminale:
|
||||
|
||||
```powershell
|
||||
.\Anubis.Server.exe db export C:\anubis-archivio --platform desktop
|
||||
```
|
||||
|
||||
2. Copia la cartella `C:\anubis-archivio` sul server, in `/mnt/user/appdata/anubis/import/anubis-archivio`.
|
||||
3. Segui [5.6](#56-esportare-e-importare-da-riga-di-comando): il punto 1 (ferma il container), salta il punto 2 (l'esportazione l'hai appena fatta su Windows), poi i punti 3, 4 e 5 con `db import /data/import/anubis-archivio`.
|
||||
4. Reinserisci le chiavi dei conti di prova e di Telegram in **Impostazioni**: su Windows le cifrava una chiave diversa da `ANUBIS_SECRET_KEY`, quindi nel container non si leggono. Se avevi acceso il secondo fattore, toglilo con il comando di [8](#8-cosa-fare-se) e riattivalo.
|
||||
|
||||
---
|
||||
|
||||
## 6. Sicurezza
|
||||
|
||||
Reference in new issue
Block a user