feat(v5): add server bootstrap job with realtime cluster broadcasting

- Add V5BootstrapServerJob: SSH into new servers, install coold/WireGuard,
  track bootstrap progress via last_bootstrap_action/status/output fields
- Add V5ClusterUpdated event: broadcasts full cluster+servers payload to
  team private channel on bootstrap state changes
- Add V5RealtimeTestEvent + RealtimeTest page for WebSocket connectivity testing
- Consolidate 3 dropped migrations into base cluster/server migrations:
  WireGuard config, builder CPU quota, status check fields, uuid
- Auto-generate uuid on V5Model create via Schema::hasColumn guard
- Expose currentTeam.id in Inertia shared props
- Add showCluster, realtimeTest, broadcastRealtimeTest controller endpoints
- Add dropdown-menu UI component
This commit is contained in:
Andras Bacsai
2026-06-19 11:44:42 +02:00
parent 3ae87334bd
commit 24bbfe07c6
35 changed files with 2744 additions and 639 deletions
+9 -1
View File
@@ -4,7 +4,15 @@ This file documents the current local v5/coold dev setup in Coolify.
## Roles
- `scripts/dev.sh` owns local developer convenience.
- `scripts/dev.sh` is the main developer-facing entrypoint. Use it for normal
local workflows such as starting/stopping the stack, creating fresh dev state,
inspecting Corrosion, managing firewall allow rules, and running example
containers.
- `scripts/coold-vm.sh` is a lower-level Lima VM helper used by `scripts/dev.sh`.
It exists separately to keep VM lifecycle and guest setup details out of the
main dev orchestration script. Call it directly only when debugging or
operating an individual VM, for example `shell`, `status`, `logs-agent`, or
`delete`.
- Lima VMs act like real deployment servers.
- `coolify init bootstrap` owns host wiring:
- WireGuard