HUB
Sign inSign up
postgis logo

eeacms/postgis

By eeacms

•Updated about 7 years ago

PostgreSQL with PostGIS, ssl and ldap support.

Image
1

5.9K

eeacms/postgis repository overview

⁠eea.docker.postgis - tag v9.6_2.4

PostgreSQL 9.6 with PostGIS 2.4

running the container with docker-compose will make you life easy.

⁠docker-compose.yml setup

setting ssl certificates is mandatory. setting the variable for pg_hba is mandatory as well.

⁠Release to production

The production deployment is not made with git clone and docker-compose build. Instead it pulls a tagged image from Docker Hub. When you have tested your changes and are satisfied, then you must push a new image up with a new version number that follows semantic versioning⁠ principles. Here is how you do it:

Therefore, if happy with master:

version=$(cat VERSION.txt)
git tag -a $version -m "Tagging the $version release of the 'eeacms/postgis' Docker image."
git commit -m "release of version $version"
git push origin $version

The purpose of the procedure is to be able to redeploy the exact same image on a new host, and to be able to roll back one or more versions if the deployment has problems.

Tag summary
Recent tags
Content type
Image
Digest
Size
230.8 MB
Last updated
about 7 years ago
docker pull eeacms/postgis:latest