1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Update .env.example.complete

This commit is contained in:
Éric Gaspar 2022-07-07 14:29:40 +02:00
parent 7482181010
commit d5e9deea96
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -20,12 +20,12 @@ APP_KEY=SomeRandomString
# Application URL
# This must be the root URL that you want to host BookStack on.
# All URL's in BookStack will be generated using this value.
APP_URL=https://example.com
APP_URL=__APP_URL_DOMAIN__
# Application default language
# The default language choice to show.
# May be overridden by user-preference or visitor browser settings.
APP_LANG=en
APP_LANG=__LANGUAGE__
# Auto-detect language for public visitors.
# Uses browser-sent headers to infer a language.
@ -35,7 +35,7 @@ APP_AUTO_LANG_PUBLIC=true
# Application timezone
# Used where dates are displayed such as on exported content.
# Valid timezone values can be found here: https://www.php.net/manual/en/timezones.php
APP_TIMEZONE=UTC
APP_TIMEZONE=__TIMEZONE__
# Application theme
# Used to specific a themes/<APP_THEME> folder where BookStack UI
@ -54,9 +54,9 @@ APP_PROXIES=null
# Host can contain a port (localhost:3306) or a separate DB_PORT option can be used.
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=database_database
DB_USERNAME=database_username
DB_PASSWORD=database_user_password
DB_DATABASE=__DB_NAME__
DB_USERNAME=__DB_USER__
DB_PASSWORD=__DB_PWD__
# MySQL specific connection options
# Path to Certificate Authority (CA) certificate file for your MySQL instance.
@ -70,20 +70,20 @@ MYSQL_ATTR_SSL_CA="/path/to/ca.pem"
MAIL_DRIVER=smtp
# Mail sending options
MAIL_FROM=mail@bookstackapp.com
MAIL_FROM=bookstack@__DOMAIN__
MAIL_FROM_NAME=BookStack
# SMTP mail options
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_PORT=25
MAIL_USERNAME=bookstack
MAIL_PASSWORD=__MAIL_PWD__
MAIL_ENCRYPTION=null
# Cache & Session driver to use
# Can be 'file', 'database', 'memcached' or 'redis'
CACHE_DRIVER=file
SESSION_DRIVER=file
CACHE_DRIVER=redis
SESSION_DRIVER=redis
# Session configuration
SESSION_LIFETIME=120
@ -104,7 +104,7 @@ MEMCACHED_SERVERS=127.0.0.1:11211:100
# This follows the following format: HOST:PORT:DATABASE
# or, if using a password: HOST:PORT:DATABASE:PASSWORD
# For multiple servers separate with a comma. These will be clustered.
REDIS_SERVERS=127.0.0.1:6379:0
REDIS_SERVERS=127.0.0.1:6379:__REDIS_DB__
# Queue driver to use
# Can be 'sync', 'database' or 'redis'
@ -205,20 +205,21 @@ TWITTER_APP_SECRET=false
TWITTER_AUTO_REGISTER=false
TWITTER_AUTO_CONFIRM_EMAIL=false
# General auth
AUTH_METHOD=__AUTH_METHOD__
# LDAP authentication configuration
# Refer to https://www.bookstackapp.com/docs/admin/ldap-auth/
LDAP_SERVER=false
LDAP_BASE_DN=false
LDAP_SERVER=ldap://127.0.0.1:389
LDAP_BASE_DN=ou=users,dc=yunohost,dc=org
LDAP_DN=false
LDAP_PASS=false
LDAP_USER_FILTER=false
LDAP_VERSION=false
LDAP_START_TLS=false
LDAP_USER_FILTER=(&(uid=${user}))
LDAP_VERSION=3
LDAP_TLS_INSECURE=false
LDAP_ID_ATTRIBUTE=uid
LDAP_EMAIL_ATTRIBUTE=mail
LDAP_DISPLAY_NAME_ATTRIBUTE=cn
LDAP_THUMBNAIL_ATTRIBUTE=null
LDAP_FOLLOW_REFERRALS=true
LDAP_DUMP_USER_DETAILS=false