relay/relay.yaml.example

36 lines
876 B
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
# [integer] Number of push workers to start (will get removed in a future update)
workers: 8
# [string] Database backend to use. Valid values: sqlite, postgres
database_type: sqlite
2022-11-27 01:25:20 +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
# 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