radrootsd

JSON-RPC bridge for Radroots event publishing
git clone https://radroots.dev/git/radrootsd.git
Log | Files | Refs | README | LICENSE

config.toml (1723B)


      1 # canonical service-host sample:
      2 #   copy to /etc/radroots/services/radrootsd/config.toml
      3 #   launch with RADROOTSD_PATHS_PROFILE=service_host
      4 # manual operator runs may instead place the same file at:
      5 #   ~/.radroots/config/services/radrootsd/config.toml
      6 # repo-owned local runs should prefer the root .env.local control plane, which derives
      7 # RADROOTSD_PATHS_PROFILE=repo_local and RADROOTSD_PATHS_REPO_LOCAL_ROOT automatically
      8 # when path-like values are omitted, the active profile derives:
      9 #   interactive_user:
     10 #     logs_dir = ~/.radroots/logs/services/radrootsd
     11 #     service identity = ~/.radroots/secrets/services/radrootsd/identity.secret.json
     12 #     publish proxy database = ~/.radroots/data/services/radrootsd/publish_proxy.sqlite
     13 #   service_host:
     14 #     logs_dir = /var/log/radroots/services/radrootsd
     15 #     service identity = /etc/radroots/secrets/services/radrootsd/identity.secret.json
     16 #     publish proxy database = /var/lib/radroots/services/radrootsd/publish_proxy.sqlite
     17 # the canonical live service identity is always an encrypted local envelope
     18 # only override logs_dir or config.publish_proxy.database_path intentionally
     19 
     20 [metadata]
     21 name = "radrootsd"
     22 # display_name = ""
     23 # about = ""
     24 # picture = ""
     25 # banner = ""
     26 # banner = ""
     27 # nip05 = ""
     28 # lud06 = ""
     29 # lud16 = ""
     30 
     31 [config]
     32 relays = [
     33   "ws://127.0.0.1:8080"
     34 ]
     35 
     36 [config.rpc]
     37 addr = "127.0.0.1:7070"
     38 
     39 [config.publish_proxy]
     40 enabled = true
     41 max_event_bytes = 131072
     42 max_relays_per_request = 20
     43 job_list_limit = 100
     44 max_concurrent_publish_jobs = 8
     45 relay_url_policy = "localhost"
     46 author_relay_discovery_relays = []
     47 daemon_default_publish_relays = ["ws://127.0.0.1:8080"]
     48 
     49 [config.nip46]
     50 public_jsonrpc_enabled = false
     51 session_ttl_secs = 900
     52 perms = []