Supporto PostgreSQL, statistiche avanzate e nuova UI

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.
This commit is contained in:
2026-01-18 17:52:05 +01:00
parent 29724f5baf
commit 61f0945db2
44 changed files with 8053 additions and 1927 deletions
+104
View File
@@ -0,0 +1,104 @@
# ?? AutoBidder - Docker Deploy su Gitea
Setup minimalista per build e deploy Docker.
---
## ?? Requisiti
- Docker Desktop running
- Login Gitea Registry:
```powershell
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`:
```xml
<PropertyGroup>
<Version>1.0.1</Version>
</PropertyGroup>
```
Poi publish come sopra.
---
## ?? Deploy Unraid
### Via Template
1. Unraid ? Docker ? Add Template
2. URL: `https://192.168.30.23/Alby96/Mimante/raw/branch/docker/deployment/unraid-template.xml`
3. Install "AutoBidder"
4. Configura:
- Port: `8888:8080`
- AppData: `/mnt/user/appdata/autobidder`
- PostgreSQL: `Host=192.168.30.23;Port=5432;...`
5. Apply
### Via Docker Compose
```bash
docker-compose up -d
```
Accesso: http://localhost:8080
---
## ?? Troubleshooting
### Publish fallisce: "unauthorized"
```powershell
docker login gitea.encke-hake.ts.net
# Retry publish
```
### Container non parte
```powershell
# 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! ??**