-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
102 lines (87 loc) · 2.59 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Read the docs for more info:
# - https://www.bookstackapp.com/docs/admin/cache-session-config/
# - https://github.com/BookStackApp/BookStack/blob/master/.env.example.complete
# Environment
APP_ENV=production
APP_DEBUG=false
APP_KEY=------------REPLACE_ME------------
# The below url has to be set if using social auth options
# or if you are not using BookStack at the root path of your domain.
APP_URL=https://bookstackapp.com ------------REPLACE_ME------------
APP_URL_BASE=bookstackapp.com ------------REPLACE_ME------------
# Application default language
# The default language choice to show.
# May be overridden by user-preference or visitor browser settings.
APP_LANG=en
# Auto-detect language for public visitors.
# Uses browser-sent headers to infer a language.
# APP_LANG will be used if such a header is not provided.
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
# Database details
DB_HOST=db:3306
DB_DATABASE=bookstack
DB_USERNAME=bookstack
DB_PASSWORD=------------REPLACE_ME------------
DB_ROOT_PASS=------------REPLACE_ME------------
# Cache and session
#CACHE_DRIVER=file
#SESSION_DRIVER=file
CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_DRIVER=sync
# A different prefix is useful when multiple BookStack instances use the same caching server
CACHE_PREFIX=bookstack
# Redis settings
# Single Redis server
REDIS_SERVERS=cache:6379:0
# Example of using two Redis servers clustered together
#REDIS_SERVERS=8.8.8.8:6379:0,8.8.4.4:6379:0
# Storage
STORAGE_TYPE=local
# S3 (minio or AWS) Config
STORAGE_S3_KEY=false
STORAGE_S3_SECRET=false
STORAGE_S3_REGION=false
STORAGE_S3_BUCKET=false
# Storage URL
# Used to prefix image urls for when using custom domains/cdns
STORAGE_URL=false
# General auth
AUTH_METHOD=standard
# Social Authentication information. Defaults as off.
GITHUB_APP_ID=false
GITHUB_APP_SECRET=false
GOOGLE_APP_ID=false
GOOGLE_APP_SECRET=false
OKTA_BASE_URL=false
OKTA_APP_ID=false
OKTA_APP_SECRET=false
TWITCH_APP_ID=false
TWITCH_APP_SECRET=false
GITLAB_APP_ID=false
GITLAB_APP_SECRET=false
GITLAB_BASE_URI=false
# External services such as Gravatar and Draw.IO
DISABLE_EXTERNAL_SERVICES=false
# LDAP Settings
LDAP_SERVER=false
LDAP_BASE_DN=false
LDAP_DN=false
LDAP_PASS=false
LDAP_USER_FILTER=false
LDAP_VERSION=false
# Mail settings
MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM=null
MAIL_FROM_NAME=null
# Only serving cookies over TLS
SESSION_SECURE_COOKIE=true