Skip to content

Instantly share code, notes, and snippets.

@Death916
Created June 15, 2023 11:13
Show Gist options
  • Save Death916/161928397f100f4bebac66cb909e6d99 to your computer and use it in GitHub Desktop.
Save Death916/161928397f100f4bebac66cb909e6d99 to your computer and use it in GitHub Desktop.
# 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: "SAMEUSER"
# password to connect to postgres
password: "SAMEPASSWORD1"
# host where postgres is running
host: "postgres"
# port where postgres can be accessed
port: 5432
# maximum number of active sql connections
pool_size: 5
}
email: {
# hostname (smtp.example.com) and port (25, 465, 587, etc) of the smtp server
smtp_server:"smtp.zoho.com:587"
# login name for smtp server
smtp_login: "LOGINEMAIL"
# password to login to the smtp server
smtp_password: "PASSWPRD"
# address to send emails from, eg "noreply@your-instance.com"
smtp_from_address:"FROM ADDRESS"
# whether or not smtp connections should use tls (true | false)
use_tls:true
# 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