Files
Anubis/deploy/unraid/anubis.xml
T
Alby96andClaude Opus 5.5 e9ac6dccc9 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>
2026-12-03 17:35:17 +01:00

47 lines
6.4 KiB
XML

<?xml version="1.0"?>
<!--
Anubis: template Docker per Unraid (SPEC 15.3, appendice E). Le istruzioni sono in docs/MANUALE.md.
L'immagine e' pubblicata nel registry dei pacchetti di Gitea, sotto l'organizzazione BalboSoft.
Copia il file in /boot/config/plugins/dockerMan/templates-user/ e scegli
"anubis" tra i template nella scheda Docker di Unraid.
-->
<Container version="2">
<Name>anubis</Name>
<Repository>gitea.encke-hake.ts.net/balbosoft/anubis:latest</Repository>
<Registry>https://gitea.encke-hake.ts.net/BalboSoft/-/packages/container/anubis/latest</Registry>
<Network>bridge</Network>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues</Support>
<Project>https://gitea.encke-hake.ts.net/BalboSoft/Anubis</Project>
<Overview>Anubis è un bot di trading personale: azioni USA su Alpaca e crypto spot su OKX Europe, senza leva. Parte in simulazione e passa ai soldi veri solo con requisiti misurati e la conferma dell'utente. Il database si sceglie qui: PostgreSQL (un database vuoto, già creato, con un utente dedicato) oppure SQLite (un file nella cartella dei dati).</Overview>
<Category>Tools:Utilities Status:Beta</Category>
<WebUI>http://[IP]:[PORT:8787]/</WebUI>
<TemplateURL/>
<Icon>https://gitea.encke-hake.ts.net/BalboSoft/Anubis/raw/branch/main/deploy/unraid/anubis-icon.png</Icon>
<ExtraParams>--restart unless-stopped --memory=4g --stop-timeout 60 --log-opt max-size=10m --log-opt max-file=3</ExtraParams>
<Requires>Con PostgreSQL: un database vuoto e un utente dedicato, raggiungibili dal container.</Requires>
<Config Name="Porta dell'interfaccia" Target="8787" Default="8787" Mode="tcp" Description="Porta su cui si apre l'interfaccia web." Type="Port" Display="always" Required="true" Mask="false">8787</Config>
<Config Name="Cartella dei dati" Target="/data" Default="/mnt/user/appdata/anubis" Mode="rw" Description="Modelli, salvataggi, storico per la ricerca e registri tecnici. Con SQLite contiene anche il database." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/anubis</Config>
<Config Name="Database" Target="ANUBIS_DB_ENGINE" Default="postgres|sqlite" Mode="" Description="postgres: usa il server PostgreSQL indicato nei campi qui sotto. sqlite: un file nella cartella dei dati, senza altri campi da compilare. La scelta si fa qui e non si cambia dall'interfaccia." Type="Variable" Display="always" Required="true" Mask="false">postgres</Config>
<Config Name="PostgreSQL: indirizzo" Target="ANUBIS_DB_HOST" Default="" Mode="" Description="Solo con postgres. Di solito l'indirizzo IP di Unraid; il nome del container PostgreSQL se i due stanno sulla stessa rete Docker personalizzata." Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Config Name="PostgreSQL: porta" Target="ANUBIS_DB_PORT" Default="5432" Mode="" Description="Solo con postgres." Type="Variable" Display="always" Required="false" Mask="false">5432</Config>
<Config Name="PostgreSQL: nome del database" Target="ANUBIS_DB_NAME" Default="anubis" Mode="" Description="Solo con postgres. Deve esistere già ed essere dedicato a Anubis." Type="Variable" Display="always" Required="false" Mask="false">anubis</Config>
<Config Name="PostgreSQL: utente" Target="ANUBIS_DB_USER" Default="anubis" Mode="" Description="Solo con postgres." Type="Variable" Display="always" Required="false" Mask="false">anubis</Config>
<Config Name="PostgreSQL: password" Target="ANUBIS_DB_PASSWORD" Default="" Mode="" Description="Solo con postgres." Type="Variable" Display="always" Required="false" Mask="true"></Config>
<Config Name="Chiave dei segreti" Target="ANUBIS_SECRET_KEY" Default="" Mode="" Description="Stringa lunga e casuale, almeno 32 caratteri: cifra nel database le chiavi dei conti. Conservala: se cambia, le chiavi vanno reinserite." Type="Variable" Display="always" Required="true" Mask="true"></Config>
<Config Name="Password iniziale" Target="ANUBIS_ADMIN_PASSWORD" Default="" Mode="" Description="Password per il primo accesso all'interfaccia, dove se ne sceglie subito una nuova. Resta la chiave per le scelte della pagina d'errore del database." Type="Variable" Display="always" Required="true" Mask="true"></Config>
<Config Name="Fuso orario" Target="TZ" Default="Europe/Rome" Mode="" Description="Il tuo fuso orario: decide gli orari mostrati, il giorno dei limiti di rischio e i lavori notturni." Type="Variable" Display="always" Required="false" Mask="false">Europe/Rome</Config>
<Config Name="Soldi veri consentiti" Target="ANUBIS_ALLOW_LIVE" Default="0|1" Mode="" Description="0: il bot non può collegarsi a conti reali, qualunque cosa si faccia dall'interfaccia. 1: toglie questo blocco, ma questa versione non permette ancora di collegare conti reali (docs/GO-LIVE.md). Lascia 0." Type="Variable" Display="advanced" Required="false" Mask="false">0</Config>
<Config Name="Telegram: token del bot" Target="TELEGRAM_BOT_TOKEN" Default="" Mode="" Description="Facoltativo: si può inserire anche dall'interfaccia. Se lo compili qui, l'interfaccia lo mostra in sola lettura." Type="Variable" Display="advanced" Required="false" Mask="true"></Config>
<Config Name="Telegram: chat autorizzata" Target="TELEGRAM_CHAT_ID" Default="" Mode="" Description="Facoltativo: identificativo della chat che riceve gli avvisi e può dare comandi." Type="Variable" Display="advanced" Required="false" Mask="false"></Config>
<Config Name="Segnale di vita" Target="ANUBIS_HEARTBEAT_URL" Default="" Mode="" Description="Facoltativo: indirizzo di un servizio esterno da chiamare ogni minuto, che avvisa quando il bot smette di rispondere." Type="Variable" Display="advanced" Required="false" Mask="true"></Config>
<Config Name="Utente (PUID)" Target="PUID" Default="99" Mode="" Description="Utente a cui va la cartella dei dati e con cui gira l'applicazione. 99 è il valore normale su Unraid." Type="Variable" Display="advanced" Required="false" Mask="false">99</Config>
<Config Name="Gruppo (PGID)" Target="PGID" Default="100" Mode="" Description="Gruppo a cui va la cartella dei dati. 100 è il valore normale su Unraid." Type="Variable" Display="advanced" Required="false" Mask="false">100</Config>
<Config Name="Database: indirizzo completo" Target="ANUBIS_DB_URL" Default="" Mode="" Description="Facoltativo, per casi particolari: sostituisce i campi PostgreSQL separati." Type="Variable" Display="advanced" Required="false" Mask="true"></Config>
</Container>