Postgres healthcheck in Docker Compose
The pg_isready healthcheck block for the official postgres image, why a socket probe lies on first boot, the TCP fix, and depends_on with service_healthy.
Filtering by topic #postgres · clear
The pg_isready healthcheck block for the official postgres image, why a socket probe lies on first boot, the TCP fix, and depends_on with service_healthy.
Supabase has a real free plan: 500 MB of database and a project that pauses after a week idle. Compare it with self-hosting the stack on your own VPS.
Size a pgvector HNSW index before you build it: the byte arithmetic, maintenance_work_mem, ef_search, and what to do when it stops fitting in RAM.
Managed Postgres or your own VPS: the four jobs that transfer, backups, upgrades, failover and monitoring, and how to work out where the cost crosses over.
Zitadel wants 4 cores and 8GB. Set up Postgres, the masterkey, TLS, SMTP and backups on one VPS, and learn what an upgrade does to your database.
Every Postgres connection is a process with its own memory, so a 4 GB VPS runs out of RAM long before max_connections. What a pooler fixes, and what it breaks.
Deploy Planka on a VPS with Docker Compose: Postgres, Traefik, the admin bootstrap variables, and the BASE_URL setting that breaks your logins.
What an Immich backup must contain, why copying the Postgres data directory is not a backup, and the restore mistake that leaves a timeline empty.
Run the official Supabase Docker stack on a server you own: the secrets you must replace, what the fourteen services do, RAM needs, backups, and updates.
Run your own URL shortener on a VPS with Shlink and Docker Compose: short domain DNS, Postgres, API keys, the web client, QR codes and click stats.
Install Listmonk on Ubuntu 24.04 with Postgres, config.toml, a systemd unit and TLS, then connect SMTP and understand what deliverability really costs.
Run Nextcloud on your own VPS with Docker Compose, Postgres, Redis and a TLS reverse proxy, plus the backup and upgrade steps that keep your data recoverable.