aports/testing/lotide/lotide.confd
Celeste a1c7f9b66b testing/lotide: new aport
https://sr.ht/~vpzom/lotide/
Federated forum / link aggregator using ActivityPub
2023-12-19 03:13:40 +00:00

33 lines
1.2 KiB
Bash

# Configuration for /etc/init.d/lotide
# Credentials for database connection. For examples, see
# https://docs.rs/tokio-postgres/0.6.0/tokio_postgres/config/struct.Config.html#examples-1
DATABASE_URL="postgres://user:password@localhost/lotide"
# Port the lotide backend listens on.
# (If not set, defaults to 3333.)
#LOTIDE_PORT=3333
# Set this to the external root address lotide is hosted at,
# and reverse proxy all `application/activity+json` and
# `application/ld+json` content types to "http://localhost:3333/apub"
HOST_URL_ACTIVITYPUB="https://lotide.example.com"
# Lotide API endpoint
HOST_URL_API="https://lotide.example.com/api"
# Set to `true` to make signatures work with the proxy setup
APUB_PROXY_REWRITES="true"
# Set to `true` to make ratelimiting work with the proxy setup
ALLOW_FORWARDED="true"
# URL used to access SMTP server, required for sending email
#SMTP_URL="smtps://username:password@smtp.example.com"
# From value used in sent emails, required for sending email
#SMTP_FROM="admin@lotide.example.com"
# Directory on disk used for storing uploaded images.
# (If not set, image uploads will be disabled.)
#MEDIA_LOCATION="/var/lib/lotide/media"