{"id":42147931,"url":"https://github.com/peter-mount/postgis","last_synced_at":"2026-01-26T18:00:40.811Z","repository":{"id":85760463,"uuid":"62734645","full_name":"peter-mount/postgis","owner":"peter-mount","description":"PostGIS (PostgreSQL 9.5) in a docker container","archived":false,"fork":false,"pushed_at":"2017-04-05T13:26:49.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-06T21:38:36.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peter-mount.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-07-06T16:02:15.000Z","updated_at":"2016-07-06T16:39:26.000Z","dependencies_parsed_at":"2023-04-12T04:16:09.712Z","dependency_job_id":null,"html_url":"https://github.com/peter-mount/postgis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peter-mount/postgis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fpostgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fpostgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fpostgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fpostgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-mount","download_url":"https://codeload.github.com/peter-mount/postgis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fpostgis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28784093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-26T18:00:22.364Z","updated_at":"2026-01-26T18:00:40.801Z","avatar_url":"https://github.com/peter-mount.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# area51/postgis\n\nThis image provides a Docker container running with PostgreSQL 9.5 and PostGIS 2.2 installed. It's based on the official [`postgres`](https://registry.hub.docker.com/_/postgres/) image.\n\n## Usage\n\nTo run a new instance, start a container as follows:\n\n    docker run --name postgis -e POSTGRES_PASSWORD=password -d area51/postgis\n\nYou can then use a normal postgresql client to access it.\n\nTo get it's address:\n\n    docker inspect --format '{{ .NetworkSettings.IPAddress }}' postgis\n\nThis will return an IPv4 address:\n\n    172.17.4.84\n\nThen you can connect to it with:\n\n    psql -h 172.17.4.84 -U postgres\n\nIf you are using IPv6 you can use the following to get at the ip address:\n\n    docker inspect --format '{{ .NetworkSettings.GlobalIPv6Address }}' postgis\n\nThis will return something like 2001:DB8::242:ac11:454\n\n## Advanced networking\n\nWhen you run it you can add additional entries into pg_hba.conf to allow external networks access. By default we add the local docker network to this but you can add more.\n\nTo add more, simply include the POSTGRES_NETWORK environment variable, so to add the 2001:DB8:1234/48 network then we would use:\n\n    docker run --name postgis -e POSTGRES_PASSWORD=password -e POSTGRES_NETWORK=\"2001:DB8:1234/48\" -d area51/postgis\n\nYou can add more to this, just separate them with spaces. You can add IPv4 addresses here as well:\n\n    docker run --name postgis -e POSTGRES_PASSWORD=password -e POSTGRES_NETWORK=\"2001:DB8:1234/48 192.168.1.0/24 2001:DB8:9999:1212/64\" -d area51/postgis\n\nThis will then add 3 networks to the pg_hba.conf file.\n\n## Digging around\n\nOnce running you can get a shell with:\n\n    docker exec -it postgis /bin/bash\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-mount%2Fpostgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-mount%2Fpostgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-mount%2Fpostgis/lists"}