Self-Hosting & DevOps · 35 min

Docker Compose stack from scratch

n8n + Postgres + a reverse proxy, wired together with a single compose file.

Key concepts

  • Compose service dependencies
  • Named volumes
  • Healthchecks

Exercise

Write a docker-compose.yml running n8n on Postgres with a healthcheck-gated startup order.

Official docs