mirror of https://github.com/LemmyNet/lemmy.git
Simplify lemmy.hjson for ansible
parent
4ce233a63f
commit
0bda4c905a
|
@ -2,43 +2,14 @@
|
||||||
# for more info about the config, check out the documentation
|
# for more info about the config, check out the documentation
|
||||||
# https://join-lemmy.org/docs/en/administration/configuration.html
|
# https://join-lemmy.org/docs/en/administration/configuration.html
|
||||||
|
|
||||||
# settings related to the postgresql database
|
|
||||||
database: {
|
database: {
|
||||||
database: lemmy
|
|
||||||
user: lemmy
|
|
||||||
host: postgres
|
|
||||||
port: 5432
|
|
||||||
pool_size: 5
|
|
||||||
# password to connect to postgres
|
|
||||||
password: "{{ postgres_password }}"
|
password: "{{ postgres_password }}"
|
||||||
}
|
}
|
||||||
# the domain name of your instance (eg "lemmy.ml")
|
|
||||||
hostname: "{{ domain }}"
|
hostname: "{{ domain }}"
|
||||||
# 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
|
|
||||||
# address where pictrs is available
|
|
||||||
pictrs_url: "http://pictrs:8080"
|
pictrs_url: "http://pictrs:8080"
|
||||||
# email sending configuration
|
|
||||||
email: {
|
email: {
|
||||||
# hostname of the smtp server
|
|
||||||
smtp_server: "postfix:25"
|
smtp_server: "postfix:25"
|
||||||
# address to send emails from, eg "noreply@your-instance.com"
|
|
||||||
smtp_from_address: "noreply@{{ domain }}"
|
smtp_from_address: "noreply@{{ domain }}"
|
||||||
use_tls: false
|
use_tls: false
|
||||||
}
|
}
|
||||||
# settings related to activitypub federation
|
|
||||||
federation: {
|
|
||||||
# whether to enable activitypub federation.
|
|
||||||
enabled: false
|
|
||||||
# Allows and blocks are described here:
|
|
||||||
# https://join-lemmy.org/docs/en/federation/administration.html#instance-allowlist-and-blocklist
|
|
||||||
#
|
|
||||||
# comma separated list of instances with which federation is allowed
|
|
||||||
# Only one of these blocks should be uncommented
|
|
||||||
# allowed_instances: ["instance1.tld","instance2.tld"]
|
|
||||||
# comma separated list of instances which are blocked from federating
|
|
||||||
# blocked_instances: []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue