nyanoblog/.env.default

25 lines
790 B
Text

#
# All configuration keys in this file have been set to their respective
# default values. Copy it to `.env` and adjust them as required.
# When in doubt, view src/conf.rs to get the actual defaults in case
# this file ever gets out of sync with the code.
#
# Note: predefined environment variables override the values specified here.
#
# Domain name of this instance (the domain.tld part in @username@domain.tld)
LOCAL_DOMAIN=
# IP address or hostname to bind to
BIND_ADDR=localhost
# TCP port to listen on
BIND_PORT=1312
# Database connection string
# Full schema: postgres://user:password@host:port/database
DATABASE_URL=postgres://nyanoblog@localhost/nyanoblog
# HMAC secret for issuing JSON Web Tokens, generate with:
# dd if=/dev/random bs=1M count=1 | sha256sum
JWT_SECRET=