DEPRECATED : see postgis/postgis public image
Docker image running PostgreSQL with PostGIS and pgRouting extensions.
-
Start postgis :
docker-compose up -d
-
Configure environment (
~/.profile
)
export PGHOST=localhost
export PGUSER=postgis
export PGPASSWORD=postgis
- Create gis database
createdb gis
psql -d gis -c "CREATE EXTENSION postgis"
See :