46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
TYPE=joplin
|
|
|
|
DOMAIN=joplin.example.com
|
|
|
|
## Domain aliases
|
|
#EXTRA_DOMAINS=', `www.joplin.example.com`'
|
|
|
|
LETS_ENCRYPT_ENV=production
|
|
|
|
COMPOSE_FILE="compose.yml"
|
|
|
|
ENABLE_BACKUPS=true
|
|
|
|
SECRET_DB_PASS_VERSION=v1
|
|
|
|
## Use one or both of these options to create users:
|
|
|
|
## Option 1: email and manual account creation
|
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.mail.yml"
|
|
# MAIL_ENABLED=true
|
|
# MAIL_HOST=mail.example.com
|
|
# MAIL_PORT=567
|
|
## none, tls, or starttls
|
|
# MAIL_SECURITY=tls
|
|
# MAIL_AUTH_USER=admin@example.com
|
|
# MAIL_NOREPLY_NAME=Admin
|
|
# MAIL_NOREPLY_EMAIL=admin@example.com
|
|
# SECRET_MAIL_PASS_VERSION=v1 # generate=false
|
|
|
|
## Option 2: SAML SSO
|
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.saml.yml"
|
|
# SAML_ENABLED=true
|
|
# SAML_SLUG=joplin
|
|
## Insert this secret by going to the Joplin Provider in Authentik, going to its
|
|
## Metadata tab, downloading the SAML Metadata XML file, then
|
|
## $ abra app secret insert joplin.example.com saml_idp v1 -f "path/to/Provider for Joplin_authentik_meta.xml"
|
|
# SECRET_SAML_IDP_VERSION=v1 # generate=false
|
|
## Recommend you uncomment this to disable Joplin's built-in session
|
|
## expiration every 6 hours, and thus making you log in manually every 6 hours.
|
|
## Annoying for SAML!
|
|
# DELETE_EXPIRED_SESSIONS_SCHEDULE=''
|
|
|
|
## Set to false to disable non-SSO login
|
|
LOCAL_AUTH_ENABLED=true
|
|
|