Aggiornamento massivo: aggiunto backend PostgreSQL per statistiche aste con fallback SQLite, nuovi modelli e servizi, UI moderna con grafici interattivi, refactoring stato applicazione (ApplicationStateService), documentazione completa per deploy Docker/Unraid/Gitea, nuovi CSS e script JS per UX avanzata, template Unraid, test database, e workflow CI/CD estesi. Pronto per produzione e analisi avanzate.
1.9 KiB
1.9 KiB
?? AutoBidder - Docker Deploy su Gitea
Setup minimalista per build e deploy Docker.
?? Requisiti
- Docker Desktop running
- Login Gitea Registry:
docker login gitea.encke-hake.ts.net # Username: alby96 # Password: <personal-access-token>
Genera token: https://gitea.encke-hake.ts.net/user/settings/applications ? Permissions: write:packages
?? Publish da Visual Studio
Build ? Publish ? Docker ? Publish
Automatico:
- Build immagine Docker
- Tag:
latest,1.0.0,1.0.0-20260118 - Push su Gitea Registry
Registry: https://gitea.encke-hake.ts.net/alby96/mimante/-/packages/container/autobidder
?? Aggiornare Versione
Modifica AutoBidder.csproj:
<PropertyGroup>
<Version>1.0.1</Version>
</PropertyGroup>
Poi publish come sopra.
?? Deploy Unraid
Via Template
- Unraid ? Docker ? Add Template
- URL:
https://192.168.30.23/Alby96/Mimante/raw/branch/docker/deployment/unraid-template.xml - Install "AutoBidder"
- Configura:
- Port:
8888:8080 - AppData:
/mnt/user/appdata/autobidder - PostgreSQL:
Host=192.168.30.23;Port=5432;...
- Port:
- Apply
Via Docker Compose
docker-compose up -d
Accesso: http://localhost:8080
?? Troubleshooting
Publish fallisce: "unauthorized"
docker login gitea.encke-hake.ts.net
# Retry publish
Container non parte
# Verifica porta libera
netstat -ano | findstr :8080
# Rebuild
docker build -t test .
?? File Configurazione
| File | Scopo |
|---|---|
Dockerfile |
Build immagine multi-stage |
docker-compose.yml |
Deploy con PostgreSQL |
Properties/PublishProfiles/Docker.pubxml |
Profilo publish Visual Studio |
deployment/unraid-template.xml |
Template Unraid |
Setup completo! Build ? Publish ? Docker per deployare! ??