Files
writefreely/.env.sample
2025-09-10 21:08:20 -04:00

51 lines
1.3 KiB
Plaintext

TYPE=writefreely
DOMAIN=writefreely.example.com
HOST_URL=https://${DOMAIN}
SITE_NAME=writefreely
# See https://writefreely.org/docs/main/admin/config
FEDERATION=true
LOCAL_TIMELINE=false
OPEN_DELETION=false
# Set to true if using SSO so linked users are created automatically
OPEN_REGISTRATION=true
# This settings requires authentication to read posts
PRIVATE=true
PUBLIC_STATS=true
SITE_DESCRIPTION=
SITE_EDITOR=classic
SITE_THEME=write
WEBFONTS=true
WF_MODESTY=false
CHORUS=false
FOREST=false
SINGLE_USER=false
MAX_BLOGS="10"
# Set to true if using SSO
DISABLE_PASSWORD_AUTH=false
# This is here so later lines can extend it; you likely don't wanna edit
COMPOSE_FILE="compose.yml"
# You also likely don't wanna edit these paths
ASSETS_PATH=/usr/share/writefreely
DATA_PATH=/data
## Domain aliases
#EXTRA_DOMAINS=', `www.writefreely.example.com`'
LETS_ENCRYPT_ENV=production
## Uncomment to use MariaDB instead of sqlite
#COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
#USE_MARIADB=true
#DB_ROOT_PASSWORD_VERSION=v1
#DB_PASSWORD_VERSION=v1
## Uncomment to use Keycloak. See README.md for explanation
#KEYCLOAK_ENABLED=1
#COMPOSE_FILE="$COMPOSE_FILE:compose.keycloak.yml"
#OAUTH_CLIENT_ID=writefreely
#OAUTH_HOST=https://<your domain>/realms/<your realm>/protocol/openid-connect
#OAUTH_DISPLAY_NAME=Keycloak
#OAUTH_CLIENT_SECRET_VERSION=v1