mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-25 16:01:09 +00:00
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
# [string] Domain the relay will be hosted on
|
|
domain: relay.example.com
|
|
|
|
# [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
|
|
workers: 8
|
|
|
|
# [string] Database backend to use. Valid values: sqlite, postgres
|
|
database_type: sqlite
|
|
|
|
# [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
|
|
|
|
# settings for the postgresql backend
|
|
postgres:
|
|
|
|
# [string] hostname or unix socket to connect to
|
|
host: /var/run/postgresql
|
|
|
|
# [integer] port of the server
|
|
port: 5432
|
|
|
|
# [string] username to use when logging into the server (default is the current system username)
|
|
user: null
|
|
|
|
# [string] password of the user
|
|
pass: null
|
|
|
|
# [string] name of the database to use
|
|
name: activityrelay
|
|
|
|
# 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
|