1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
synapse_ynh/conf/sliding_proxy.conf

35 lines
2.2 KiB
Text
Raw Normal View History

# Required. The destination homeserver to talk to (CS API HTTPS URL) e.g 'https://matrix-client.matrix.org'
SYNCV3_SERVER=https://__DOMAIN__
# Required. The postgres connection string
SYNCV3_DB=postgresql://__DB_USER__:__DB_PWD__@localhost/__DB_NAME_SLIDINGPROXY__
# Required. A secret to use to encrypt access tokens. Must remain the same for the lifetime of the database.
SYNCV3_SECRET=__SYNC_PROXY_SECRET__
# Default: 0.0.0.0:8008. The interface and port to listen on. (Supports unix socket: /path/to/socket)
SYNCV3_BINDADDR=localhost:__PORT_SLIDING_PROXY__
# Default: unset. Path to a certificate file to serve to HTTPS clients. Specifying this enables TLS on the bound address.
# SYNCV3_TLS_CERT=
# Default: unset. Path to a key file for the certificate. Must be provided along with the certificate file.
# SYNCV3_TLS_KEY=
# Default: unset. The bind addr for pprof debugging e.g ':6060'. If not set, does not listen.
# SYNCV3_PPROF=
# Default: unset. The bind addr for Prometheus metrics, which will be accessible at /metrics at this address.
# SYNCV3_PROM=
# Default: unset. The OTLP HTTP URL to send spans to e.g https://localhost:4318 - if unset does not send OTLP traces.
# SYNCV3_OTLP_URL=
# Default: unset. The OTLP username for Basic auth. If unset, does not send an Authorization header.
# SYNCV3_OTLP_USERNAME=
# Default: unset. The OTLP password for Basic auth. If unset, does not send an Authorization header.
# SYNCV3_OTLP_PASSWORD=
# Default: unset. The Sentry DSN to report events to e.g https://sliding-sync@sentry.example.com/123 - if unset does not send sentry events.
# SYNCV3_SENTRY_DSN=
# Default: info. The level of verbosity for messages logged. Available values are trace, debug, info, warn, error and fatal
# SYNCV3_LOG_LEVEL=
# Default: unset. Max database connections to use when communicating with postgres. Unset or 0 means no limit.
# SYNCV3_MAX_DB_CONN=
# Default: 3600. The maximum amount of time a database connection may be idle, in seconds. 0 means no limit.
# SYNCV3_DB_IDLE_TIMEOUT_SECS=
# Default: 300. The timeout in seconds for normal HTTP requests.
# SYNCV3_HTTP_TIMEOUT_SECS=
# Default: 1800. The timeout in seconds for initial sync requests.
# SYNCV3_HTTP_INITIAL_TIMEOUT_SECS=