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

Sign up
Appearance settings

Commit 24d266e

Browse files
Merge pull request #30 from ceph3us/master
Fix first time setup script
2 parents aa78639 + de1b387 commit 24d266e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docker-entrypoint.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ 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 '/var/www/BookStack/.env' ]; then
10+
if [ ! -f '$BOOKSTACK_HOME/.env' ]; then
1111
if [[ "${DB_HOST}" ]]; then
12-
cat > /var/www/BookStack/.env <<EOF
12+
cat > "$BOOKSTACK_HOME/.env" <<EOF
1313
# Environment
1414
APP_ENV=production
1515
APP_DEBUG=${APP_DEBUG:-false}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /