# scripts/ — Changelog

## docker-setup.sh v6.0.0 (2026-02-21)

- **Removed interactive configuration wizard**: Full setup now handled by controller's web-based setup wizard
- **Minimal controller.yaml**: Script only generates domain + paths + listener config; controller's web wizard handles the rest
- **New `--cf-tunnel-token` flag**: Cloudflare Tunnel token can now be provided directly via CLI
- **Removed `--hub-customer` and `--hub-password` flags**: Hub config download moved to controller setup wizard
- **Port 8081 mapping**: Controller docker-compose.yml now exposes `:8081` for direct HTTP setup wizard access
- **Updated summary output**: Shows setup wizard URLs (domain + LAN fallback) instead of config file paths
- **controller.yaml mount writable**: No longer `:ro` so setup wizard can write full config after completion

## docker-setup.sh v5.0.0 (2026-02-20)

- **Hub Config Download:**
  - Added `--hub-customer` and `--hub-password` CLI flags
  - Downloads pre-configured `controller.yaml` from Felhom Hub (`GET /api/v1/config/{id}`)
  - Extracts domain, email, CF tokens from downloaded YAML for subsequent setup steps
  - Falls back to interactive wizard if download fails or credentials not provided
  - Hub URL: `https://hub.felhom.eu` (configurable via `HUB_URL` variable)

## docker-setup.sh v4.0.0 (2026-02-19)

- Cloudflare Tunnel support: optional tunnel deployment when token provided in wizard
- Self-signed certificate generation: `--self-signed-cert` flag with CA + wildcard cert
- Three TLS modes: Let's Encrypt DNS-01, Let's Encrypt HTTP-01, Self-signed
- FileBrowser Quantum auto-discovers drive mounts from `/mnt/*/`
- System data path support in wizard and FileBrowser volumes

## docker-setup.sh v3.0.0 (2026-02-17)

- Interactive configuration wizard with 6 sections
- Static IP configuration supporting NetworkManager, systemd-networkd, ifupdown
- Traefik v3 reverse proxy with Let's Encrypt DNS-01 (Cloudflare)
- Controller deployment with privileged access for system management
- Docker shell aliases and helper tools (ctop, lazydocker)

## docker-setup.sh v2.0.0 (2026-02-14)

- Dry-run mode (`--dry-run`) for safe preview
- Bootstrap mode (`--bootstrap`) for fresh Debian without sudo
- Error trapping with diagnostic collection
- Docker daemon.json DNS fallback configuration

## docker-setup.sh v1.0.0 (2026-02-10)

- Initial release: Docker + Traefik + controller deployment
- CLI flag parsing with validation
- Basic configuration wizard
