Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

camptocamp/docker-postgis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This image is deprecated, please use https://hub.docker.com/r/camptocamp/postgres/ instead

Postgis Docker container

The tags are named after the PostgreSQL versions:

  • PostgreSQL 9.4 is using PostGIS 2.1,
  • PostgreSQL 9.5 is using PostGIS 2.2,
  • PostgreSQL 9.6 is using PostGIS 2.3.

Here is a sample Dockerfile for using it:

FROM camptocamp/postgis:9.5
MAINTAINER Camptocamp "[email protected]"

ENV POSTGRES_USER www-data
ENV POSTGRES_DB toto
ADD *.sql /docker-entrypoint-initdb.d/

Name your SQL files starting with a 2 digit number prefix starting from 01_ to ensure your scripts are started after the ones from the camptocamp/postgis image.

See the PostgreSQL image documentation for more details: https://hub.docker.com/_/postgres/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages