relay/relay.yaml.example

60 lines
1.3 KiB
Plaintext
Raw Normal View History

# [string] Domain the relay will be hosted on
domain: relay.example.com
2018-10-30 01:42:17 +00:00
# [string] Address the relay will listen on
listen: 0.0.0.0
# [integer] Port the relay will listen on
port: 8080
2024-02-01 02:23:45 +00:00
# [integer] Number of push workers to start
workers: 8
# [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
# [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
# settings for the postgresql backend
postgres:
2022-11-27 01:25:20 +00:00
# [string] hostname or unix socket to connect to
host: /var/run/postgresql
2022-05-06 07:04:51 +00:00
# [integer] port of the server
port: 5432
2022-05-06 07:04:51 +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
# [string] password of the user
pass: null
2022-05-06 07:04:51 +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