version: '3.8' services: certreports: build: . ports: - "5080:8080" environment: - ASPNETCORE_ENVIRONMENT=Development - ConnectionStrings__CertDb=Server=sqlserver;Database=CertDB;User Id=sa;Password=YourStrong!Passw0rd;TrustServerCertificate=True; - Syncfusion__LicenseKey=${SYNCFUSION_LICENSE_KEY} - ChartService__BaseUrl=https://reports.smart-roots.net:4004 depends_on: - sqlserver restart: unless-stopped # Opzionale: SQL Server locale per sviluppo # Commentare se si usa un server SQL esterno sqlserver: image: mcr.microsoft.com/mssql/server:2022-latest environment: - ACCEPT_EULA=Y - MSSQL_SA_PASSWORD=YourStrong!Passw0rd ports: - "1433:1433" volumes: - sqldata:/var/opt/mssql volumes: sqldata: