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