Federated via graft
1.9 kB
46 lines
1# Copy to /etc/graft/config.yaml and adjust.
2# This file itself holds no secrets: tokens live in separate files
3# (token_file), owned by the sync user, mode 600.
4
5sync_interval: 5m
6state_db: /var/lib/graft/state.db
7
8# Shown in the status dashboard's footer. Optional.
9source_url: https://git.example.org/alice/graft
10
11# Hostname graft is publicly reachable at. Setting this enables ActivityPub:
12# every series becomes a followable actor (e.g. testrepo@graft.example.org)
13# whose outbox mirrors its activity log, with a status page at /social.
14# Optional — leave unset to keep graft ActivityPub-free.
15public_host: graft.example.org
16
17repos:
18 - name: testrepo
19 # Groups this pair with others that mirror the same underlying repo
20 # (one pair per forge/Radicle side) under one row in the status
21 # dashboard's heatmap. Defaults to `name` — its own row — if unset.
22 series: testrepo
23 forgejo:
24 base_url: https://f1.cyberwild.org
25 owner: forgeadmin
26 repo: testrepo
27 token_file: /etc/graft/f1-testrepo.token
28 radicle:
29 rid: rad:z2YWuPL53okTkr5mgb7WCKsfxG7h8
30 http_base_url: https://r1.cyberwild.org
31 rad_home: /home/sync/.radicle
32 # A Radicle Explorer deployment, for "view this on Radicle" links in
33 # the status dashboard. Optional: links are omitted if unset.
34 explorer_url: https://app.radicle.xyz
35 sync:
36 git: true
37 issues: true
38 patches: true
39 # Posts a short note to this Bluesky account whenever this pair mirrors
40 # a new commit or opens a patch/PR. Optional — omit to never post.
41 bluesky:
42 handle: testrepo.bsky.social
43 app_password_file: /etc/graft/testrepo-bluesky.app-password
44 # PDS endpoint. Optional: defaults to https://bsky.social, correct
45 # for any account hosted there (the common case).
46 pds_host: https://bsky.social