]> BookStack Code Mirror - bookstack/blob - .env.example
Merge branch 'master' of github.com:BookStackApp/BookStack
[bookstack] / .env.example
1 # Environment
2 APP_ENV=production
3 APP_DEBUG=false
4 APP_KEY=SomeRandomString
5
6 # The below url has to be set if using social auth options
7 # or if you are not using BookStack at the root path of your domain.
8 # APP_URL=http://bookstack.dev
9
10 # Database details
11 DB_HOST=localhost
12 DB_DATABASE=database_database
13 DB_USERNAME=database_username
14 DB_PASSWORD=database_user_password
15
16 # Cache and session
17 CACHE_DRIVER=file
18 SESSION_DRIVER=file
19 # If using Memcached, comment the above and uncomment these
20 #CACHE_DRIVER=memcached
21 #SESSION_DRIVER=memcached
22 QUEUE_DRIVER=sync
23
24 # Memcached settings
25 # If using a UNIX socket path for the host, set the port to 0
26 # This follows the following format: HOST:PORT:WEIGHT
27 # For multiple servers separate with a comma
28 MEMCACHED_SERVERS=127.0.0.1:11211:100
29
30 # Storage
31 STORAGE_TYPE=local
32 # Amazon S3 Config
33 STORAGE_S3_KEY=false
34 STORAGE_S3_SECRET=false
35 STORAGE_S3_REGION=false
36 STORAGE_S3_BUCKET=false
37 # Storage URL
38 # Used to prefix image urls for when using custom domains/cdns
39 STORAGE_URL=false
40
41 # General auth
42 AUTH_METHOD=standard
43
44 # Social Authentication information. Defaults as off.
45 GITHUB_APP_ID=false
46 GITHUB_APP_SECRET=false
47 GOOGLE_APP_ID=false
48 GOOGLE_APP_SECRET=false
49 OKTA_BASE_URL=false
50 OKTA_APP_ID=false
51 OKTA_APP_SECRET=false
52
53 GITLAB_APP_ID=false
54 GITLAB_APP_SECRET=false
55 GITLAB_BASE_URI=false
56
57 # External services such as Gravatar
58 DISABLE_EXTERNAL_SERVICES=false
59
60 # LDAP Settings
61 LDAP_SERVER=false
62 LDAP_BASE_DN=false
63 LDAP_DN=false
64 LDAP_PASS=false
65 LDAP_USER_FILTER=false
66 LDAP_VERSION=false
67
68 # Mail settings
69 MAIL_DRIVER=smtp
70 MAIL_HOST=localhost
71 MAIL_PORT=1025
72 MAIL_USERNAME=null
73 MAIL_PASSWORD=null
74 MAIL_ENCRYPTION=null