---
title: "Discussion on \"How to install Portainer with Docker and Caddy on a VPS\" | Hashnode"
description: "Discussion on \"How to install Portainer with Docker and Caddy on a VPS\". This tutorial installs Portainer CE 2.45.4 LTS on an Ubuntu 24.04 VPS with Docker Compose and puts the dashboard behind Caddy 2.11.9 with automatic HTTPS. Only ports 80 and 443 are open: Portainer's 9"
url: "https://hashnode.com/posts/install-portainer-docker-caddy-vps/6b0ebe26548f14ac8cc5e069"
---

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

Discussion

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

This tutorial installs Portainer CE 2.45.4 LTS on an Ubuntu 24.04 VPS with Docker Compose and puts the dashboard behind Caddy 2.11.9 with automatic HTTPS. Only ports 80 and 443 are open: Portainer's 9

11h ago · 12 min read · nuvits.hashnode.dev  
Read the article

-   [#portainer](https://hashnode.com/tag/portainer)
-   [#docker](https://hashnode.com/tag/docker)
-   [#caddy](https://hashnode.com/tag/caddy)
-   [#vps](https://hashnode.com/tag/vps)

## 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.
