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 462d82a

Browse filesBrowse files
authored
Fixing .env overwrite issue
This fixes the .env file from being overwritten every single time the docker container is run
1 parent 475dbe6 commit 462d82a
Copy full SHA for 462d82a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎docker-entrypoint.sh

Copy file name to clipboardExpand all lines: docker-entrypoint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echoerr() { echo "$@" 1>&2; }
77
IFS=":" read -r DB_HOST_NAME DB_PORT <<< "$DB_HOST"
88
DB_PORT=${DB_PORT:-3306}
99

10-
if [ ! -f '$BOOKSTACK_HOME/.env' ]; then
10+
if [ ! -f "$BOOKSTACK_HOME/.env" ]; then
1111
if [[ "${DB_HOST}" ]]; then
1212
cat > "$BOOKSTACK_HOME/.env" <<EOF
1313
# Environment

0 commit comments

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