Deploy PostgreSQL on Your VPS
Deploy PostgreSQL on your VPS in one click. Advanced open source relational database with extensibility, JSON support, and SQL compliance.
PostgreSQL is the database serious applications graduate to. Native JSONB, full-text search, common table expressions, window functions, and a mature extension ecosystem (PostGIS, pgvector, TimescaleDB) make it as flexible as it is reliable.
Vessl deploys the official Postgres image with a persistent volume, generated superuser password, and project-scoped network access. Your application services connect over the internal network — no need to expose a public port.
What's included
- Persistent volume with WAL durability across restarts
- Generated superuser password stored as an environment variable
- Internal network connectivity — public exposure is opt-in
- Extension support (pgvector, PostGIS) by switching the image tag
- Compatible with every major Postgres client and ORM
Common use cases
- Primary application database with strong consistency guarantees
- Vector storage for AI / embeddings workloads (pgvector)
- Analytics workloads that need window functions and CTEs
Frequently asked questions
Which PostgreSQL version is used?
Postgres 16 by default. You can pin a different image tag (15, 14, or a vendor variant like pgvector) before launching.
Can I install extensions like pgvector or PostGIS?
Yes — pick a base image that includes the extension you need, then run CREATE EXTENSION inside the database. Custom Dockerfile templates are supported too.
How do I run migrations?
Connect from your application container over the project network. Most frameworks (Laravel, Rails, Django, Prisma) detect the DATABASE_URL Vessl injects and run migrations on deploy.
Ready to ship?
Deploy PostgreSQL in under a minute.
Connect your VPS, pick this template, fill in any required fields. Vessl handles the container, SSL, and persistent storage.
Start for FreeNo credit card · BYOS · IDR billing
