---
title: "Deploy PostGIS"
description: "PostgreSQL DB enabled with PostGIS"
category: "Storage"
url: https://railway.com/deploy/postgis
---

# Deploy PostGIS

PostgreSQL DB enabled with PostGIS

**[Deploy PostGIS on Railway](https://railway.com/template/postgis)**

- **Creator:** Railway Templates
- **Category:** Storage
- **Total deploys:** 1,355

## Template content

### PostGIS

- **Image:** postgis/postgis:16-master

## Documentation

## PostgreSQL DB enabled with the PostGIS extension

The image used in this template can be found in Docker Hub, published by the team at PostGIS.
- [postgis/postgis](https://hub.docker.com/r/postgis/postgis)

### Versions
- PostgreSQL 16
- PostGIS 3.4.0

### [PostGIS](https://postgis.net/)
Extends PostgreSQL by adding support for storing, indexing, and querying geographic data.

> PostGIS is an open source software program that adds support for geographic objects to the PostgreSQL object-relational database. PostGIS follows the Simple Features for SQL specification from the Open Geospatial Consortium

- [PostGIS Documentation](https://postgis.net/documentation/)

### SSL certificates
This template initializes postgres using the self-signed Snakeoil certificate that is available in Debian/Ubuntu systems.  This is controlled by the `POSTGRES_INITDB_ARGS` environment variable.

## Similar templates

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [Postgres Backup to Cloudflare R2 (S3-Compatible)](https://railway.com/deploy/postgres-to-r2-backup) — Automated PostgreSQL backups to S3-compatible storage with encryption

Open this page in a browser: https://railway.com/deploy/postgis
