From 2ba753c931aec89019c93efa89c7d17d4f3c1a0a Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 11 Oct 2022 16:09:05 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/entrypoint-wordpress.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/entrypoint-wordpress.sh b/bin/entrypoint-wordpress.sh index 1cae947..7decbc7 100644 --- a/bin/entrypoint-wordpress.sh +++ b/bin/entrypoint-wordpress.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash - +# Set bash options +[ -n "$DEBUG" ] && set -x +set -o pipefail +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +DB_DIR="${DB_DIR:-/data/mysql/db}" DB_HOST="${DB_HOST:-localhost}" DB_NAME="${DB_NAME:-wordpress}" DB_USER="${DB_USER:-root}"