lemmy/config.hjson.tmpl

66 lines
1.9 KiB
Cheetah

{
# for more info about the config, check out the documentation
# https://join-lemmy.org/docs/en/administration/configuration.html
setup: {
# username for the admin user
admin_username: "{{ env "ADMIN_USERNAME" }}"
# password for the admin user
admin_password: "{{ secret "admin_password" }}"
# name of the site (can be changed later)
site_name: "{{ env "SITE_NAME" }}"
}
# opentelemetry_url: "http://otel:4137"
# the domain name of your instance (eg "lemmy.ml")
hostname: "{{ env "DOMAIN" }}"
# address where lemmy should listen for incoming requests
bind: "0.0.0.0"
# port where lemmy should listen for incoming requests
port: 8536
# settings related to the postgresql database
# address where pictrs is available
pictrs_url: "http://{{ env "STACK_NAME" }}_pictrs:8080"
database: {
# name of the postgres database for lemmy
database: "lemmy"
# username to connect to postgres
user: "lemmy"
# password to connect to postgres
password: "{{ secret "postgres_password" }}"
# host where postgres is running
host: "db"
# port where postgres can be accessed
port: 5432
# maximum number of active sql connections
pool_size: 5
}
slur_filter:
'''
{{ env "SLUR_FILTER" }}
'''
# # optional: email sending configuration
# email: {
# # hostname and port of the smtp server
# smtp_server: ""
# # login name for smtp server
# smtp_login: ""
# # password to login to the smtp server
# smtp_password: ""
# # address to send emails from, eg "noreply@your-instance.com"
# smtp_from_address: ""
# # whether or not smtp connections should use tls
# use_tls: true
# }
# Settings related to activitypub federation
federation: {
enabled: {{ env "FEDERATION_ENABLED" }}
strict_allowlist: false
http_fetch_retry_limit: 25
worker_count: 64
debug: false
}
}