]> BookStack Code Mirror - bookstack/blobdiff - .env.example
Made memcached config allow mulitple servers
[bookstack] / .env.example
index 9d42d7487d89b4a45d8a9dc7b88c9c968d42acf0..5661cda2209f753c3827e58a14d73a5f69445fd1 100644 (file)
@@ -17,6 +17,12 @@ SESSION_DRIVER=file
 #SESSION_DRIVER=memcached
 QUEUE_DRIVER=sync
 
+# Memcached settings
+# If using a UNIX socket path for the host, set the port to 0
+# This follows the following format: HOST:PORT:WEIGHT
+# For multiple servers separate with a comma
+MEMCACHED_SERVERS=127.0.0.1:11211:100
+
 # Storage
 STORAGE_TYPE=local
 # Amazon S3 Config
@@ -56,9 +62,4 @@ MAIL_HOST=localhost
 MAIL_PORT=1025
 MAIL_USERNAME=null
 MAIL_PASSWORD=null
-MAIL_ENCRYPTION=null
-
-# Memcached settings
-#MEMCACHED_HOST=127.0.0.1
-# If using a UNIX socket path for the host, set the port to 0
-#MEMCACHED_PORT=11211
\ No newline at end of file
+MAIL_ENCRYPTION=null
\ No newline at end of file