-
-
Save mstdn/ad3b93decce16ad7e1e617d704505a1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# for more info about the config, check out the documentation | |
# https://join-lemmy.org/docs/en/administration/configuration.html | |
# only few config options are covered in this example config | |
# the domain name of your instance (eg "lemmy.ml") | |
hostname: "u.fail" | |
# address where lemmy should listen for incoming requests | |
bind: "0.0.0.0" | |
# port where lemmy should listen for incoming requests | |
port: 8536 | |
# Whether the site is available over TLS. Needs to be true for federation to work. | |
tls_enabled: true | |
# pictrs host | |
pictrs: { | |
url: "http://pictrs:8080/" | |
# api_key: "API_KEY" | |
} | |
# settings related to the postgresql database | |
database: { | |
# name of the postgres database for lemmy | |
database: "lemmy" | |
# username to connect to postgres | |
user: "lemmy" | |
# password to connect to postgres | |
password: "CustomPassword" | |
# host where postgres is running | |
host: "postgres" | |
# port where postgres can be accessed | |
port: 5432 | |
# maximum number of active sql connections | |
pool_size: 175 | |
} | |
# Email sending configuration. All options except login/password are mandatory | |
email: { | |
# Hostname and port of the smtp server | |
smtp_server: "smtp.eu.mailgun.org:587" | |
# Login name for smtp server | |
smtp_login: "postmaster@e.u.fail" | |
# Password to login to the smtp server | |
smtp_password: "CustomPassword" | |
# Address to send emails from, eg "noreply@your-instance.com" | |
smtp_from_address: "info@u.fail" | |
# Whether or not smtp connections should use tls. Can be none, tls, or starttls | |
tls_type: "starttls" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment