Setup Portainer

Self hosted PayloadCMS and PostgreSQL website on Docker

2 min read

Published Jun 17 2025, updated Jun 19 2025


10
0
0
0

CaddyDockerGitHub ActionsJavascriptNextJSPayloadCMSPortainerTailscaleUbuntuUFW

Im going to be using Portainer to manage my docker instance, purely as its nicer to use a GUI than do everything from the command line. Once finished, Portainer will only be accessible over the Tailscale network so the public wont have access.


First download the YML file:

curl -L https://downloads.portainer.io/ce-lts/portainer-agent-stack.yml -o portainer-agent-stack.yml

Then deploy the Portainer stack that was downloaded:

docker stack deploy -c portainer-agent-stack.yml portainer

You can verify its running by running:

docker ps

Which will list 2 containers, an agent and portainer-ce containers.


You can now log in to Portainer from a web browser on your computer by visiting:

https://<tailscale-IP>:9443/

Replacing <tailscale-ip> with your Tailscale IP address.

It will ask you to setup a password etc as its the first time visited.


You can now visually see and edit your docker system using the web UI.

We installed the free community edition of Portainer. If you want to upgrade to the business edition then you can do that at the top of the web page. You can get up to 3 nodes free, but then start to charge for more nodes. Most things you can do from the community edition but it does make some things like backups better, so worth getting the business one if you aren't going over 3 nodes.


Products from our shop

Docker Cheat Sheet - Print at Home Designs

Docker Cheat Sheet - Print at Home Designs

Docker Cheat Sheet Mouse Mat

Docker Cheat Sheet Mouse Mat

Docker Cheat Sheet Travel Mug

Docker Cheat Sheet Travel Mug

Docker Cheat Sheet Mug

Docker Cheat Sheet Mug

Vim Cheat Sheet - Print at Home Designs

Vim Cheat Sheet - Print at Home Designs

Vim Cheat Sheet Mouse Mat

Vim Cheat Sheet Mouse Mat

Vim Cheat Sheet Travel Mug

Vim Cheat Sheet Travel Mug

Vim Cheat Sheet Mug

Vim Cheat Sheet Mug

SimpleSteps.guide branded Travel Mug

SimpleSteps.guide branded Travel Mug

Developer Excuse Javascript - Travel Mug

Developer Excuse Javascript - Travel Mug

Developer Excuse Javascript Embroidered T-Shirt - Dark

Developer Excuse Javascript Embroidered T-Shirt - Dark

Developer Excuse Javascript Embroidered T-Shirt - Light

Developer Excuse Javascript Embroidered T-Shirt - Light

Developer Excuse Javascript Mug - White

Developer Excuse Javascript Mug - White

Developer Excuse Javascript Mug - Black

Developer Excuse Javascript Mug - Black

SimpleSteps.guide branded stainless steel water bottle

SimpleSteps.guide branded stainless steel water bottle

Developer Excuse Javascript Hoodie - Light

Developer Excuse Javascript Hoodie - Light

Developer Excuse Javascript Hoodie - Dark

Developer Excuse Javascript Hoodie - Dark

© 2025 SimpleSteps.guide
AboutFAQPoliciesContact