Skip to content
Self-Hosted OSS Databases

PostgreSQL (Self-Hosted Docker)

Industry-standard relational database with pgvector, zero row limits, and no auto-pause.

Self-Hosted Blueprint

postgres/postgres ↗
Min RAM / CPU
256 MB · 1 vCPU
License
PostgreSQL
GitHub Stars
23k
Maintenance
Medium
One-click templates on: coolify dokploy

Quickstart / Docker Compose

docker-compose.yml
services:
  postgres:
    image: postgres:17-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: app
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: app
    volumes:
      - pg_data:/var/lib/postgresql/data
volumes:
  pg_data:

Gotchas & Hidden Limits

  • Always schedule automated pg_dump backups to Cloudflare R2 or Backblaze B2 — Docker volumes alone do not protect against host disk failure.
Best For: Production SaaS apps running on Coolify/Dokploy alongside app containers on the same private Docker network.
Crossover Point: Any project needing >500 MB DB storage or always-on compute saves $20-$50/mo immediately.

Related Comparisons & Alternatives

Spot an outdated limit or pricing change?

Report Outdated Limit or Pricing Change

Flag changed quotas, pricing tiers, credit-card rules, or license shifts for manual verification.

Request Type
2–120 characters, e.g. Coolify or Neon.
⚠ Enter the tool name (at least 2 characters).
Include https:// (e.g. https://coolify.io/pricing).
⚠ Enter a valid URL starting with https:// or http://.
Deployment Model
Lowercase letters, numbers, and hyphens only (e.g. coolify).
Optional — only used if editors need clarification.
⚠ Enter a valid email address (e.g. name@domain.com).
Share key free allowances, credit-card gate, sleep rule, or min Docker RAM.
⚠ Enter at least 10 characters describing the correction.
Human Verification

Search StackTiers Infrastructure Index

↑↓ navigate · ↵ openFull Pagefind search →