kopia lustrzana https://github.com/kartoza/docker-postgis
Fixed POSTGRES_USER reference in start script
rodzic
019a5075f0
commit
ce33b11509
|
@ -106,7 +106,7 @@ else
|
|||
su - postgres -c "psql template_postgis -f $SQLDIR/legacy_gist.sql"
|
||||
# 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 $USERNAME -T template_postgis gis"
|
||||
su - postgres -c "createdb -O $POSTGRES_USER -T template_postgis gis"
|
||||
fi
|
||||
# This should show up in docker logs afterwards
|
||||
su - postgres -c "psql -l"
|
||||
|
|
Ładowanie…
Reference in New Issue