From 3ebf1f9703899d590982411ceb5fdc44a60d2721 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Mon, 9 Dec 2019 21:33:22 +0100 Subject: [PATCH] Replace old environment variable name --- pica-etherpad/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pica-etherpad/entrypoint.sh b/pica-etherpad/entrypoint.sh index ad3980aa..f96eaae4 100644 --- a/pica-etherpad/entrypoint.sh +++ b/pica-etherpad/entrypoint.sh @@ -24,7 +24,7 @@ fi # Check if database already exists RESULT=`mysql -u${ETHERPAD_DB_USER} -p${ETHERPAD_DB_PASSWORD} \ - -h${MYSQL_PORT_3306_TCP_ADDR} --skip-column-names \ + -h${ETHERPAD_DB_HOST} --skip-column-names \ -e "SHOW DATABASES LIKE '${ETHERPAD_DB_NAME}'"` if [ "$RESULT" != $ETHERPAD_DB_NAME ]; then -- GitLab