2024-01-22 10:32:16 +00:00
|
|
|
# [string] Domain the relay will be hosted on
|
|
|
|
domain: relay.example.com
|
2018-10-30 01:42:17 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] Address the relay will listen on
|
2018-10-30 22:35:04 +00:00
|
|
|
listen: 0.0.0.0
|
2024-01-22 10:32:16 +00:00
|
|
|
|
|
|
|
# [integer] Port the relay will listen on
|
2018-10-30 22:35:04 +00:00
|
|
|
port: 8080
|
|
|
|
|
2024-02-01 02:23:45 +00:00
|
|
|
# [integer] Number of push workers to start
|
2024-01-22 10:32:16 +00:00
|
|
|
workers: 8
|
2018-10-30 22:35:04 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] Database backend to use. Valid values: sqlite, postgres
|
|
|
|
database_type: sqlite
|
2022-11-27 01:25:20 +00:00
|
|
|
|
2024-02-01 02:23:45 +00:00
|
|
|
# [string] Cache backend to use. Valid values: database, redis
|
|
|
|
cache_type: database
|
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] Path to the sqlite database file if the sqlite backend is in use
|
|
|
|
sqlite_path: relay.sqlite3
|
2022-05-06 07:04:51 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# settings for the postgresql backend
|
|
|
|
postgres:
|
2022-11-27 01:25:20 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] hostname or unix socket to connect to
|
|
|
|
host: /var/run/postgresql
|
2022-05-06 07:04:51 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [integer] port of the server
|
|
|
|
port: 5432
|
2022-05-06 07:04:51 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] username to use when logging into the server (default is the current system username)
|
|
|
|
user: null
|
2022-05-06 07:04:51 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] password of the user
|
|
|
|
pass: null
|
2022-05-06 07:04:51 +00:00
|
|
|
|
2024-01-22 10:32:16 +00:00
|
|
|
# [string] name of the database to use
|
|
|
|
name: activityrelay
|
2024-02-01 02:23:45 +00:00
|
|
|
|
|
|
|
# settings for the redis caching backend
|
|
|
|
redis:
|
|
|
|
|
|
|
|
# [string] hostname or unix socket to connect to
|
|
|
|
host: localhost
|
|
|
|
|
|
|
|
# [integer] port of the server
|
|
|
|
port: 6379
|
|
|
|
|
|
|
|
# [string] username to use when logging into the server
|
|
|
|
user: null
|
|
|
|
|
|
|
|
# [string] password for the server
|
|
|
|
pass: null
|
|
|
|
|
|
|
|
# [integer] database number to use
|
|
|
|
database: 0
|
|
|
|
|
|
|
|
# [string] prefix for keys
|
|
|
|
prefix: activityrelay
|