We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa78639 + de1b387 commit 24d266eCopy full SHA for 24d266e
docker-entrypoint.sh
@@ -7,9 +7,9 @@ echoerr() { echo "$@" 1>&2; }
7
IFS=":" read -r DB_HOST_NAME DB_PORT <<< "$DB_HOST"
8
DB_PORT=${DB_PORT:-3306}
9
10
-if [ ! -f '/var/www/BookStack/.env' ]; then
+if [ ! -f '$BOOKSTACK_HOME/.env' ]; then
11
if [[ "${DB_HOST}" ]]; then
12
- cat > /var/www/BookStack/.env <<EOF
+ cat > "$BOOKSTACK_HOME/.env" <<EOF
13
# Environment
14
APP_ENV=production
15
APP_DEBUG=${APP_DEBUG:-false}
0 commit comments