2019-12-17 21:35:48 +00:00
|
|
|
{
|
2020-06-24 14:09:52 +00:00
|
|
|
# for more info about the config, check out the documentation
|
2021-02-05 12:30:49 +00:00
|
|
|
# https://join.lemmy.ml/docs/en/administration/configuration.html
|
2020-06-24 14:09:52 +00:00
|
|
|
|
|
|
|
# settings related to the postgresql database
|
2019-12-17 21:35:48 +00:00
|
|
|
database: {
|
2020-06-24 14:09:52 +00:00
|
|
|
# password to connect to postgres
|
2019-12-17 21:35:48 +00:00
|
|
|
password: "{{ postgres_password }}"
|
2020-06-24 14:09:52 +00:00
|
|
|
# host where postgres is running
|
2020-03-09 16:50:28 +00:00
|
|
|
host: "postgres"
|
2019-12-17 21:35:48 +00:00
|
|
|
}
|
2020-11-26 16:47:01 +00:00
|
|
|
# the domain name of your instance (eg "lemmy.ml")
|
2019-12-17 21:35:48 +00:00
|
|
|
hostname: "{{ domain }}"
|
2020-06-24 14:09:52 +00:00
|
|
|
# json web token for authorization between server and client
|
2019-12-17 21:35:48 +00:00
|
|
|
jwt_secret: "{{ jwt_password }}"
|
2020-06-24 14:09:52 +00:00
|
|
|
# email sending configuration
|
2019-12-17 21:35:48 +00:00
|
|
|
email: {
|
2020-06-24 14:09:52 +00:00
|
|
|
# hostname of the smtp server
|
2020-01-31 11:03:26 +00:00
|
|
|
smtp_server: "postfix:25"
|
2020-06-24 14:09:52 +00:00
|
|
|
# address to send emails from, eg "noreply@your-instance.com"
|
2020-01-31 11:03:26 +00:00
|
|
|
smtp_from_address: "noreply@{{ domain }}"
|
|
|
|
use_tls: false
|
2019-12-17 21:35:48 +00:00
|
|
|
}
|
2020-10-22 14:32:56 +00:00
|
|
|
# settings related to activitypub federation
|
|
|
|
federation: {
|
|
|
|
# whether to enable activitypub federation.
|
|
|
|
enabled: false
|
|
|
|
# Allows and blocks are described here:
|
2021-02-05 12:30:49 +00:00
|
|
|
# https://join.lemmy.ml/docs/en/federation/administration.html#instance-allowlist-and-blocklist
|
2020-10-22 14:32:56 +00:00
|
|
|
#
|
|
|
|
# comma separated list of instances with which federation is allowed
|
2021-03-01 17:24:11 +00:00
|
|
|
# Only one of these blocks should be uncommented
|
|
|
|
# allowed_instances: ["instance1.tld","instance2.tld"]
|
2020-10-22 14:32:56 +00:00
|
|
|
# comma separated list of instances which are blocked from federating
|
2021-03-01 17:24:11 +00:00
|
|
|
# blocked_instances: []
|
2020-10-22 14:32:56 +00:00
|
|
|
}
|
2019-12-17 21:35:48 +00:00
|
|
|
}
|