# sope.toml — one hub + N satellites # See also: man 5 sope.toml [hub] # SSH-reachable host from the machine that runs `sope` host = "hub.example.com" user = "deploy" path = "/opt/sope/hub" grafana_port = 3000 # Published bind on the hub (0.0.0.0 = all interfaces) grafana_bind = "0.0.0.0" ingest_bind = "0.0.0.0" [auth] # Same Bearer token on every satellite → hub (Caddy) token = "change-me-to-a-long-random-string" [grafana] admin_user = "admin" admin_password = "change-me" # --------------------------------------------------------------------------- # Satellites: repeat [[satellites]] once per machine. # `name` must be UNIQUE — passed to: # sope deploy satellite --name # sope status satellite --name # # Co-located hub + satellite (same host): # - use the same host as [hub] # - path MUST differ (default /opt/sope/sat is fine next to /opt/sope/hub) # - sope sets SOPE_HUB=127.0.0.1 and publishes Alloy OTLP on 14317/14318 # so it does not clash with hub Caddy :4317/:4318 # --------------------------------------------------------------------------- [[satellites]] name = "node-a" host = "node-a.example.com" user = "deploy" path = "/opt/sope/sat" [[satellites]] name = "node-b" host = "node-b.example.com" user = "deploy" path = "/opt/sope/sat" # Example: satellite on the hub machine itself # [[satellites]] # name = "hub-local" # host = "hub.example.com" # same as [hub].host # user = "deploy" # path = "/opt/sope/sat" # must not equal [hub].path