-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add postgis to docker-compose. fixed error for geohub-database.sql, a… (
#2624) * add postgis to docker-compose. fixed error for geohub-database.sql, and created a script init.sh to initialise database schema for geohub schema * update Makefile
- Loading branch information
1 parent
06c66b7
commit b3c05fe
Showing
6 changed files
with
84 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
USER=docker | ||
DATABASE=geodata | ||
HOST=localhost | ||
POST=25432 | ||
|
||
echo | ||
echo "------------------------------------------------------------------" | ||
echo "Initialising geodata database" | ||
echo "------------------------------------------------------------------" | ||
psql -f ./geohub-database.sql -U $USER -d $DATABASE -h $HOST -p $POST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters