docs(01-01): complete Docker validation scripts plan

- Created 3 bash scripts (check-env.sh, validate-compose.sh, reset-env.sh)
- All scripts follow CLAUDE.md standards with proper headers and exit codes
- Total: 491 lines of bash scripting with color-coded output
- Marked 5 requirements complete (SETUP-01 through SETUP-04, INF-05)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Luca Sacchi Ricciardi
2026-03-24 19:53:40 +01:00
parent 9b90ed2169
commit 8eae198624
3 changed files with 171 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ Requirements per il rilascio iniziale. Ogni requisito mappa a una fase della roa
- [ ] **INF-02**: Reti private non espongono porte sull'host (127.0.0.1 max, mai 0.0.0.0)
- [ ] **INF-03**: Tutti i container hanno limiti risorse obbligatori (cpus, mem_limit)
- [ ] **INF-04**: Dati persistenti sopravvivono a riavvio container (named volumes)
- [ ] **INF-05**: File docker-compose.yml validati con `docker-compose config` prima dell'uso
- [x] **INF-05**: File docker-compose.yml validati con `docker-compose config` prima dell'uso
### Git & Workflow
@@ -56,10 +56,10 @@ Requirements per il rilascio iniziale. Ogni requisito mappa a una fase della roa
### Setup & Requisiti Utente
- [ ] **SETUP-01**: Documentato requisito Docker Engine >= 24.0 e Compose V2
- [ ] **SETUP-02**: Documentato requisito utility di rete (netcat, curl, iproute2)
- [ ] **SETUP-03**: Specificate risorse minime consigliate (RAM, CPU)
- [ ] **SETUP-04**: Fornito script di verifica ambiente (check Docker, check versioni)
- [x] **SETUP-01**: Documentato requisito Docker Engine >= 24.0 e Compose V2
- [x] **SETUP-02**: Documentato requisito utility di rete (netcat, curl, iproute2)
- [x] **SETUP-03**: Specificate risorse minime consigliate (RAM, CPU)
- [x] **SETUP-04**: Fornito script di verifica ambiente (check Docker, check versioni)
- [ ] **SETUP-05**: Fornito comando di reset completo ambiente (cleanup volumi, reti)
## v2 Requirements
@@ -123,7 +123,7 @@ Quali fasi coprono quali requisiti. Aggiornato dopo creazione roadmap.
| INF-02 | Phase 3,6,7,10 | Pending |
| INF-03 | Phase 4,6,7,10 | Pending |
| INF-04 | Phase 5,6,7,10 | Pending |
| INF-05 | Phase 1,10 | Pending |
| INF-05 | Phase 1,10 | Complete |
| GIT-01 | Phase 8 | Pending |
| GIT-02 | Phase 8 | Pending |
| GIT-03 | Phase 8 | Pending |
@@ -133,10 +133,10 @@ Quali fasi coprono quali requisiti. Aggiornato dopo creazione roadmap.
| PARA-02 | Phase 3,6,10 | Pending |
| PARA-03 | Phase 2,3,4,5,6,10 | Pending |
| PARA-04 | Phase 2,3,4,5,6,10 | Pending |
| SETUP-01 | Phase 1 | Pending |
| SETUP-02 | Phase 1 | Pending |
| SETUP-03 | Phase 1 | Pending |
| SETUP-04 | Phase 1 | Pending |
| SETUP-01 | Phase 1 | Complete |
| SETUP-02 | Phase 1 | Complete |
| SETUP-03 | Phase 1 | Complete |
| SETUP-04 | Phase 1 | Complete |
| SETUP-05 | Phase 1 | Pending |
**Coverage:**