---
title: "Discussion on \"How to install n8n with Docker on a VPS\" | Hashnode"
description: "Discussion on \"How to install n8n with Docker on a VPS\". Run n8n in production on an Ubuntu 24.04 VPS with Docker Compose, PostgreSQL, an external task runner and automatic HTTPS from Caddy."
url: "https://hashnode.com/posts/install-n8n-docker-vps/6af468f6639dae59eef07689"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to install n8n with Docker on a VPS](https://nuvits.hashnode.dev/install-n8n-docker-vps?utm_source=hashnode&utm_medium=feed)

Run n8n in production on an Ubuntu 24.04 VPS with Docker Compose, PostgreSQL, an external task runner and automatic HTTPS from Caddy.

7h ago · 9 min read · nuvits.hashnode.dev  
Read the article

-   [#n8n](https://hashnode.com/tag/n8n)
-   [#docker](https://hashnode.com/tag/docker)
-   [#self-hosted](https://hashnode.com/tag/self-hosted)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Fernando Chagas](https://hashnode.com/@fernandochagas)

@fernandochagas

  
[View profile](https://hashnode.com/@fernandochagas)

Building Nuvits: VPS in Brazilian reais and MCP for AI agents

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
