b32145fb58
Documentation: - Fix CI badge href to /actions (was 404 on Gitea) - Add UPTOP_METRICS_PUBLIC + UPTOP_MAINT_RETENTION to README env table - Link maintenance retention to env var name in data retention section - Note metrics auth requirement in features list - Fix clustering.md: fail-closed wording, mark AGG_STRATEGY/NODE_REGION optional - Fix .env.example: wording (no .env loader), add TRUSTED_PROXIES + MAINT_RETENTION - Add CLI help/usage with subcommand listing, accept serve/help/-h/-version Docker/deploy: - Add EXPOSE 8080 to Dockerfile - Remove dead LIPGLOSS_RENDERER_HAS_DARK_BACKGROUND env - Exempt /api/health from cluster auth (fixes Docker HEALTHCHECK 401) - Add sysctls for unprivileged ping to all compose files Cosmetic: - Fix bug_report.yaml: SemVer placeholder, remove nonexistent serve subcommand
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
services:
|
|
leader:
|
|
image: lerkolabs/uptop:latest
|
|
sysctls:
|
|
- net.ipv4.ping_group_range=0 2147483647
|
|
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
|