2019-12-17 16:35:48 -05:00
|
|
|
{
|
2020-06-24 10:09:52 -04:00
|
|
|
# for more info about the config, check out the documentation
|
2021-06-07 17:10:47 -04:00
|
|
|
# https://join-lemmy.org/docs/en/administration/configuration.html
|
2020-06-24 10:09:52 -04:00
|
|
|
|
|
|
|
# settings related to the postgresql database
|
2019-12-17 16:35:48 -05:00
|
|
|
database: {
|
2021-04-05 10:20:40 -04:00
|
|
|
database: lemmy
|
|
|
|
user: lemmy
|
|
|
|
host: postgres
|
|
|
|
port: 5432
|
|
|
|
pool_size: 5
|
2020-06-24 10:09:52 -04:00
|
|
|
# password to connect to postgres
|
2019-12-17 16:35:48 -05:00
|
|
|
password: "{{ postgres_password }}"
|
|
|
|
}
|
2020-11-26 11:47:01 -05:00
|
|
|
# the domain name of your instance (eg "lemmy.ml")
|
2019-12-17 16:35:48 -05:00
|
|
|
hostname: "{{ domain }}"
|
2021-04-05 10:20:40 -04:00
|
|
|
# the port where lemmy should listen for incoming requests
|
|
|
|
port: 8536
|
|
|
|
# whether tls is required for activitypub. only disable this for debugging, never for producion.
|
|
|
|
tls_enabled: true
|
2021-09-07 20:11:36 -04:00
|
|
|
# address where pictrs is available
|
|
|
|
pictrs_url: "http://pictrs:8080"
|
2020-06-24 10:09:52 -04:00
|
|
|
# email sending configuration
|
2019-12-17 16:35:48 -05:00
|
|
|
email: {
|
2020-06-24 10:09:52 -04:00
|
|
|
# hostname of the smtp server
|
2020-01-31 06:03:26 -05:00
|
|
|
smtp_server: "postfix:25"
|
2020-06-24 10:09:52 -04:00
|
|
|
# address to send emails from, eg "noreply@your-instance.com"
|
2020-01-31 06:03:26 -05:00
|
|
|
smtp_from_address: "noreply@{{ domain }}"
|
|
|
|
use_tls: false
|
2019-12-17 16:35:48 -05:00
|
|
|
}
|
2020-10-22 10:32:56 -04:00
|
|
|
# settings related to activitypub federation
|
|
|
|
federation: {
|
|
|
|
# whether to enable activitypub federation.
|
|
|
|
enabled: false
|
|
|
|
# Allows and blocks are described here:
|
2021-06-07 17:10:47 -04:00
|
|
|
# https://join-lemmy.org/docs/en/federation/administration.html#instance-allowlist-and-blocklist
|
2020-10-22 10:32:56 -04:00
|
|
|
#
|
|
|
|
# comma separated list of instances with which federation is allowed
|
2021-03-01 12:24:11 -05:00
|
|
|
# Only one of these blocks should be uncommented
|
|
|
|
# allowed_instances: ["instance1.tld","instance2.tld"]
|
2020-10-22 10:32:56 -04:00
|
|
|
# comma separated list of instances which are blocked from federating
|
2021-03-01 12:24:11 -05:00
|
|
|
# blocked_instances: []
|
2020-10-22 10:32:56 -04:00
|
|
|
}
|
2019-12-17 16:35:48 -05:00
|
|
|
}
|