6cf0efed9b
1. UpdateSite handles token-read Scan error instead of ignoring it. sql.ErrNoRows (nonexistent site) passes through; real DB errors surface. 2. RunCheck allowPrivate changed from variadic to real bool param. Dead maxRequestBody duplicate removed from sqlstore.go. 3. Footer help bar documents [Space] for group collapse. 4. adjustCursor unified with clampCursor — one clamping path instead of two with different semantics. 5. Compose cluster/probe example files annotate hardcoded secrets with "EXAMPLE ONLY — rotate before use". 6. huhForm.WithHeight moved from View() to handleResize — no longer mutates form state during render. 7. maxTableRows recalculated on filter enter/exit via recalcLayout() — was only recalculated on resize, causing off-by-one when the filter bar appeared/disappeared.
36 lines
951 B
YAML
36 lines
951 B
YAML
services:
|
|
leader:
|
|
build: .
|
|
environment:
|
|
- UPTOP_CLUSTER_MODE=leader
|
|
- UPTOP_CLUSTER_SECRET=changeme # EXAMPLE ONLY — rotate before use
|
|
- UPTOP_AGG_STRATEGY=any-down
|
|
- UPTOP_STATUS_ENABLED=true
|
|
ports:
|
|
- "8080:8080"
|
|
- "23234:23234"
|
|
|
|
probe-us-east:
|
|
build: .
|
|
environment:
|
|
- UPTOP_CLUSTER_MODE=probe
|
|
- UPTOP_NODE_ID=us-east-1
|
|
- UPTOP_NODE_NAME=US East Probe
|
|
- UPTOP_NODE_REGION=us-east
|
|
- UPTOP_PEER_URL=http://leader:8080
|
|
- UPTOP_CLUSTER_SECRET=changeme # EXAMPLE ONLY — rotate before use
|
|
depends_on:
|
|
- leader
|
|
|
|
probe-eu-west:
|
|
build: .
|
|
environment:
|
|
- UPTOP_CLUSTER_MODE=probe
|
|
- UPTOP_NODE_ID=eu-west-1
|
|
- UPTOP_NODE_NAME=EU West Probe
|
|
- UPTOP_NODE_REGION=eu-west
|
|
- UPTOP_PEER_URL=http://leader:8080
|
|
- UPTOP_CLUSTER_SECRET=changeme # EXAMPLE ONLY — rotate before use
|
|
depends_on:
|
|
- leader
|