2022-03-24 20:17:36 +00:00
|
|
|
{
|
|
|
|
# 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
|
2022-03-24 23:24:24 +00:00
|
|
|
pictrs_url: "http://{{ env "STACK_NAME" }}_pictrs:8080"
|
2022-03-24 20:17:36 +00:00
|
|
|
database: {
|
|
|
|
# name of the postgres database for lemmy
|
|
|
|
database: "lemmy"
|
|
|
|
# username to connect to postgres
|
|
|
|
user: "lemmy"
|
|
|
|
# password to connect to postgres
|
2022-03-25 12:39:02 +00:00
|
|
|
password: "{{ secret "postgres_password" }}"
|
2022-03-24 20:17:36 +00:00
|
|
|
# host where postgres is running
|
2022-03-24 23:24:24 +00:00
|
|
|
host: "db"
|
2022-03-24 20:17:36 +00:00
|
|
|
# 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
|
|
|
|
# }
|
|
|
|
}
|