8000 Fix misleading error messages. by benbristow · Pull Request #1 · Sonerezh/docker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix misleading error messages. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nginx/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ if [ -z "$SONEREZH_DB_PORT_3306_TCP_ADDR" ]; then
fi

if [ -z "$SONEREZH_DB_ENV_MYSQL_DATABASE" ]; then
echo >&2 'error: missing required SONEREZH_DB_ENV_MYSQL_PASSWORD environment variable'
echo >&2 'error: missing required SONEREZH_DB_ENV_MYSQL_DATABASE environment variable'
echo >&2 ' Did you forget to --link some-mysql-container:mysql?'
exit 1
fi

if [ -z "$SONEREZH_DB_ENV_MYSQL_USER" ]; then
echo >&2 'error: missing required MYSQL_USER environment variable'
echo >&2 'error: missing required SONEREZH_DB_ENV_MYSQL_USER environment variable'
echo >&2 ' Did you forget to --link some-mysql-container:mysql?'
exit 1
fi

if [ -z "$SONEREZH_DB_ENV_MYSQL_PASSWORD" ]; then
echo >&2 'error: missing required MYSQL_PASSWORD environment variable'
echo >&2 'error: missing required SONEREZH_DB_ENV_MYSQL_PASSWORD environment variable'
echo >&2 ' Did you forget to --link some-mysql-container:mysql?'
exit 1
fi
Expand Down
0