radrootsd

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

config.toml (1718B)


      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 #     transport publish database = ~/.radroots/data/services/radrootsd/transport_publish.sqlite
     13 #   service_host:
     14 #     logs_dir = /var/log/radroots/services/radrootsd
     15 #     service identity = /etc/radroots/secrets/services/radrootsd/identity.secret.json
     16 #     transport publish database = /var/lib/radroots/services/radrootsd/transport_publish.sqlite
     17 # the canonical live service identity is always an encrypted local envelope
     18 # only override logs_dir or config.transport_publish.database_path intentionally
     19 
     20 [metadata]
     21 name = "radrootsd"
     22 # display_name = ""
     23 # about = ""
     24 # nip05 = ""
     25 # bot = true
     26 
     27 [config]
     28 relays = [
     29   "ws://127.0.0.1:8080"
     30 ]
     31 
     32 [config.rpc]
     33 addr = "127.0.0.1:7070"
     34 
     35 [config.transport_publish]
     36 enabled = true
     37 max_event_bytes = 131072
     38 max_targets_per_request = 20
     39 job_list_limit = 100
     40 max_concurrent_publish_jobs = 8
     41 
     42 [config.transport_publish.nostr]
     43 relay_url_policy = "localhost"
     44 author_relay_discovery_relays = []
     45 daemon_default_relays = ["ws://127.0.0.1:8080"]
     46 
     47 [config.nip46]
     48 public_jsonrpc_enabled = false
     49 session_ttl_secs = 900
     50 perms = []