Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5a2feca

Browse filesBrowse files
authored
Update docker-entrypoint.sh
Allow configuring cache/session/queue driver via env var
1 parent fb9396f commit 5a2feca
Copy full SHA for 5a2feca

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎docker-entrypoint.sh

Copy file name to clipboardExpand all lines: docker-entrypoint.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ if [ ! -f "$BOOKSTACK_HOME/.env" ]; then
2626
DB_PASSWORD=${DB_PASSWORD:-password}
2727
2828
# Cache and session
29-
CACHE_DRIVER=file
30-
SESSION_DRIVER=file
29+
CACHE_DRIVER=${BOOKSTACK_CACHEDRIVER:-file}
30+
SESSION_DRIVER=${BOOKSTACK_SESSIONDRIVER:-file}
3131
# If using Memcached, comment the above and uncomment these
3232
#CACHE_DRIVER=memcached
3333
#SESSION_DRIVER=memcached
34-
QUEUE_DRIVER=sync
34+
QUEUE_DRIVER=${BOOKSTACK_SESSIONDRIVER:-sync}
3535
3636
# Memcached settings
3737
# If using a UNIX socket path for the host, set the port to 0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.