From 1438bacac69b4f72efc6a943011e8cb5ce45e991 Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Fri, 13 Feb 2015 11:17:55 -0800 Subject: [PATCH] Forgot CREATE DATABASE variable --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 74a4e356fc..7cfd7763e0 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -35,7 +35,7 @@ if [ "$1" = 'postgres' ]; then else op='CREATE' gosu postgres postgres --single -jE <<-EOSQL - CREATE DATABASE "$POSTGRES_USER" ; + CREATE DATABASE "$POSTGRES_DB" ; EOSQL echo fi