Hub 2.11.0: ports checked on both servers before an install; frp config on each server's page
- A new install reserves candidate ports, asks the central and church servers which are free (probe-ports), and runs on the first pair free on both (3 rounds, then called off). - Each server's page reads and changes frps's / frpc's config (agent 1.4.0): secrets stay on the server, two-factor, verify, backup, restart, put back if frp doesn't start. - Alerts name the config file the agent uses; a missing config gets its own alert. - Vendors contracts 1.15.0. Migration 20261121110000_server_frp_config. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Hub 2.11.0: where frps (central server) or frpc (church server) keeps its config, set from the
|
||||
-- Hub, and the last read of that file (secrets hidden by the agent).
|
||||
ALTER TABLE "Server" ADD COLUMN "frpConfigPath" TEXT;
|
||||
ALTER TABLE "Server" ADD COLUMN "frpConfig" JSONB;
|
||||
@@ -485,6 +485,10 @@ model Server {
|
||||
joinedAt DateTime @default(now())
|
||||
removedAt DateTime?
|
||||
notes String?
|
||||
// Hub 2.11.0: the frps (central) or frpc (church) config path set here (null: the agent finds it),
|
||||
// and the last frp-read result (crosscode.agent frpReadResult, secrets hidden on the server).
|
||||
frpConfigPath String?
|
||||
frpConfig Json?
|
||||
stats ServerStat[]
|
||||
jobs Job[]
|
||||
deployments Deployment[]
|
||||
|
||||
Reference in New Issue
Block a user