From ee0a92270237e49141360430f7b5f10e2f1af77e Mon Sep 17 00:00:00 2001 From: Volkan Unsal Date: Tue, 6 Jan 2015 19:25:29 -0500 Subject: [PATCH] Closes #14 --- start-postgis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-postgis.sh b/start-postgis.sh index 469b768..8467e0f 100755 --- a/start-postgis.sh +++ b/start-postgis.sh @@ -96,7 +96,7 @@ else su - postgres -c "psql template_postgis -c 'GRANT ALL ON spatial_ref_sys TO PUBLIC;'" # Create a default db called 'gis' that you can use to get up and running quickly # It will be owned by the docker db user - su - postgres -c "createdb -O docker -T template_postgis gis" + su - postgres -c "createdb -O $USERNAME -T template_postgis gis" fi # This should show up in docker logs afterwards su - postgres -c "psql -l"