104 lines
2.8 KiB
INI
104 lines
2.8 KiB
INI
[sr.ht]
|
|
#
|
|
# The name of your network of sr.ht-based sites
|
|
site-name=sourcehut
|
|
#
|
|
# The top-level info page for your site
|
|
site-info=https://sourcehut.org
|
|
#
|
|
# {{ site-name }}, {{ site-blurb }}
|
|
site-blurb=the hacker's forge
|
|
#
|
|
# If this != production, we add a banner to each page
|
|
environment=development
|
|
#
|
|
# Contact information for the site owners
|
|
owner-name=Drew DeVault
|
|
owner-email=sir@cmpwn.com
|
|
#
|
|
# The source code for your fork of sr.ht
|
|
source-url=https://git.sr.ht/~sircmpwn/srht
|
|
#
|
|
# A secret key to encrypt session cookies with. Use `srht-keygen service` to
|
|
# generate this. This should be unique to each site, but shared among nodes of
|
|
# that site. For example, git.sr.ht and hg.sr.ht have different keys, but
|
|
# git1.sr.ht has the same key as git2.sr.ht.
|
|
service-key=
|
|
#
|
|
# A secret key to encrypt internal messages with. Use `srht-keygen network` to
|
|
# generate this. This should be consistent between all *.sr.ht sites and nodes.
|
|
network-key=
|
|
|
|
[mail]
|
|
#
|
|
# Outgoing SMTP settings
|
|
smtp-host=
|
|
smtp-port=
|
|
smtp-user=
|
|
smtp-password=
|
|
smtp-from=
|
|
#
|
|
# Application exceptions are emailed to this address
|
|
error-to=
|
|
error-from=
|
|
#
|
|
# Your PGP key information (DO NOT mix up pub and priv here)
|
|
# You must remove the password from your secret key, if present.
|
|
# You can do this with gpg --edit-key [key-id], then use the passwd
|
|
# command and do not enter a new password.
|
|
pgp-privkey=
|
|
pgp-pubkey=
|
|
pgp-key-id=
|
|
|
|
[webhooks]
|
|
#
|
|
# base64-encoded Ed25519 key for signing webhook payloads. This should be
|
|
# consistent for all *.sr.ht sites, as we'll use this key to verify signatures
|
|
# from other sites in your network.
|
|
#
|
|
# Use the srht-webhook-keygen command to generate a key.
|
|
private-key=
|
|
|
|
[todo.sr.ht]
|
|
#
|
|
# URL todo.sr.ht is being served at (protocol://domain)
|
|
origin=http://todo.sr.ht.local
|
|
#
|
|
# Address and port to bind the debug server to
|
|
debug-host=0.0.0.0
|
|
debug-port=5003
|
|
#
|
|
# Configures the SQLAlchemy connection string for the database.
|
|
connection-string=postgresql://postgres@localhost/todo.sr.ht
|
|
#
|
|
# Set to "yes" to automatically run migrations on package upgrade.
|
|
migrate-on-upgrade=yes
|
|
#
|
|
# todo.sr.ht's OAuth client ID and secret for meta.sr.ht
|
|
# Register your client at meta.example.org/oauth
|
|
oauth-client-id=CHANGEME
|
|
oauth-client-secret=CHANGEME
|
|
#
|
|
# Outgoing email for notifications generated by users
|
|
notify-from=CHANGEME@example.org
|
|
#
|
|
# The redis connection used for the webhooks worker
|
|
webhooks=redis://localhost:6379/1
|
|
|
|
[todo.sr.ht::mail]
|
|
#
|
|
# Path for the lmtp daemon's unix socket. Direct incoming mail to this socket.
|
|
# Alternatively, specify IP:PORT and an SMTP server will be run instead.
|
|
sock=/tmp/todo.sr.ht-lmtp.sock
|
|
#
|
|
# The lmtp daemon will make the unix socket group-read/write for users in this
|
|
# group.
|
|
sock-group=postfix
|
|
#
|
|
# Fill this in with the name of the domain to which emails should be sent.
|
|
# Leave blank to disable email submission.
|
|
posting-domain=
|
|
|
|
[meta.sr.ht]
|
|
origin=http://meta.sr.ht.local
|