You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB
Plaintext

config_version = 1
[general]
# Listening address
# use 0.0.0.0 as a wildcard IPv4 address
# use 127.0.0.1 to only listen local IPv4 connections
listening_address = "0.0.0.0"
# Listening port, between 1 and 65535.
# Ports below 1024 will require additional privileges.
listening_port = 8080
# Your website hostname.
hostname = "example.org"
# The database URL
# Backend only supports postgres but other DB support can be
# easily implemented if needed
database_url = "postgres://username:password@address:port/database"
# Sets the difficulty for bcrypt hashes, to hash passwords.
# Calculate this value depending on your server CPU. Should be at least 10.
bcrypt_cost = 10
# The key used to encrypt cookies.
# `openssl rand -base64 64 | tr -d '\n'`
cookie_key = "CHANGE ME"
# A static salt (actually a pepper) used in some places
# `openssl rand -base64 64 | tr -d '\n'`
secret_pepper = "CHANGE ME"
[mail]
# Email address that receives contact forms
contact_form_dest = "forms-address@example.org"
# Mailserver's FQDN
external_address = "mail.example.org"
# The email used for SMTP authentication
sender_email = "mailer-account@example.org"
# The password used for SMTP authentication
sender_password = "mailer password"
# The email address to use in the From field when sending emails
send_as = "postmaster@example.org"
# The name to use in the From field when sending emails
sender_name = "Your Org Name"
# Your organisation's contact address (in Reply-To header)
contact_address = "contact@example.org"