mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 07:16:17 +00:00
Adds synapse-sync (protocol types, Remote transport and read API, SyncClient with background loop, SSE realtime, resumable blobs) and synapse-server (multi-graph, bearer auth, blob streaming, read API, authenticated update endpoint), with e2e tests, docs/sync.md, docs/server.md, systemd unit and update script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 lines
706 B
Bash
18 lines
706 B
Bash
# Synapse server configuration (names only; never commit real values).
|
|
|
|
# Address the sync server listens on, e.g. 127.0.0.1:7878 (default if empty)
|
|
SYNAPSE_BIND=
|
|
# Directory holding server-side graphs and blobs (required)
|
|
SYNAPSE_DATA_DIR=
|
|
# Bearer token(s) clients must present, comma separated, each >= 16 chars
|
|
# (generate with `openssl rand -hex 32`; required)
|
|
SYNAPSE_AUTH_TOKEN=
|
|
# Token that authorises POST /admin/update (self-update). Endpoint disabled if empty.
|
|
SYNAPSE_UPDATE_TOKEN=
|
|
# Update script run by the endpoint (default /opt/synapse/scripts/update.sh)
|
|
SYNAPSE_UPDATE_SCRIPT=
|
|
# Log format: text (default) or json
|
|
SYNAPSE_LOG_FORMAT=
|
|
# Log filter, e.g. info,synapse_server=debug
|
|
RUST_LOG=
|