c2bfa5ad82
- README/CONTRIBUTING quick start: add UPTOP_ADMIN_KEY so SSH works on fresh DB, fix single-file go run path that doesn't compile - apply --dry-run: assign placeholder IDs for new alerts and groups so resolveAlertID succeeds when monitors reference not-yet-created alerts - deploy/*.yml: switch user-facing compose files from broken build context to image: lerkolabs/uptop:latest, fix dev context to ..
36 lines
1014 B
YAML
36 lines
1014 B
YAML
services:
|
|
leader:
|
|
image: lerkolabs/uptop:latest
|
|
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:
|
|
image: lerkolabs/uptop:latest
|
|
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:
|
|
image: lerkolabs/uptop:latest
|
|
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
|