Railway

Image

Deploy pgMaps

Manage maps and GIS data in PostgreSQL databases

Deploy pgMaps

Just deployed

Deploy and Host pgMaps on Railway

Open-source tool for managing maps and geospatial data in PostGIS-enabled PostgreSQL databases

About Hosting pgMaps

It is required that your set three environment variables: POSTGRES_URL: Your PostgreSQL connection string. By default, the app will create up to four tables in the public schema (_pgmaps_basemaps, _pgmaps_connections, _pgmaps_folders, _pgmaps_maps) to store its own data.

APP_PASSWORD: Password protecting the app. Without it, anyone with the URL could obtain read/write access to your PostgreSQL database.

DSN_ENCRYPTION_KEY: 32-byte hex key used to encrypt saved connection strings at rest. Generate with openssl rand -hex 32.

Common Use Cases

  • Easily load spatial files into your PostgreSQL database
  • Visualize and edit geospatial data at scale
  • Create, manage, and share live maps

Dependencies for pgMaps Hosting

  • PostgreSQL connection string
  • Docker

Deployment Dependencies

None

Why Deploy pgMaps on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying pgMaps on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
[Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
20
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51