-Aggiunta configurazione tramite dockerfile per windows e linux
-Aggiunte github actions per la compilazione dei container e l'esposizione
This commit is contained in:
@@ -115,20 +115,54 @@ Data-Coupler/
|
||||
### Prerequisiti
|
||||
- .NET 9.0 SDK
|
||||
- Visual Studio 2022 o VS Code
|
||||
- Docker (opzionale, per deployment containerizzato)
|
||||
|
||||
### Build
|
||||
### Build Locale
|
||||
```bash
|
||||
dotnet build Data_Coupler.sln
|
||||
```
|
||||
|
||||
### Esecuzione
|
||||
### Esecuzione Locale
|
||||
```bash
|
||||
dotnet run --project Data_Coupler/Data_Coupler.csproj
|
||||
```
|
||||
|
||||
L'applicazione sarà disponibile su:
|
||||
- HTTP: http://localhost:5135
|
||||
- HTTPS: https://localhost:7132
|
||||
- HTTP: http://localhost:7550
|
||||
|
||||
### 🐳 Deployment Docker
|
||||
|
||||
**Quick Start con Docker:**
|
||||
```bash
|
||||
# Pull e run (immagine pubblica)
|
||||
docker run -d -p 7550:7550 -v data-coupler-data:/var/lib/Data_Coupler ghcr.io/alessiodalsi/data-coupler:latest
|
||||
|
||||
# Con Docker Compose
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
**Build Locale:**
|
||||
```bash
|
||||
# Linux
|
||||
docker build -t data-coupler:local -f Dockerfile .
|
||||
|
||||
# Windows
|
||||
docker build -t data-coupler:local-windows -f Dockerfile.windows .
|
||||
|
||||
# Script automatico (PowerShell)
|
||||
.\build-docker.ps1 -Target all -Test
|
||||
|
||||
# Script automatico (Bash)
|
||||
./build-docker.sh all
|
||||
```
|
||||
|
||||
**Immagini Disponibili:**
|
||||
- **Linux**: `ghcr.io/alessiodalsi/data-coupler:latest`
|
||||
- **Windows**: `ghcr.io/alessiodalsi/data-coupler:latest-windows`
|
||||
- **Dev**: `ghcr.io/alessiodalsi/data-coupler:dev-latest`
|
||||
- **Staging**: `ghcr.io/alessiodalsi/data-coupler:staging-latest`
|
||||
|
||||
📚 **Documentazione Docker Completa**: Vedi [DOCKER_DEPLOYMENT.md](DOCKER_DEPLOYMENT.md) e [GITHUB_ACTIONS_SETUP.md](GITHUB_ACTIONS_SETUP.md)
|
||||
|
||||
## Caratteristiche di Sicurezza
|
||||
|
||||
|
||||
Reference in New Issue
Block a user