Skip to content

Commit 24d266e

Browse files
authored
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

+2-2
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)