A simple setup to deploy Portainer using docker-compose
or docker stack deploy
(Swarm).
- Install Docker.
- (optional) Install Docker-compose.
- Clone this repository
See nginx-proxy/
or traefik/
for Compose deployments.
Deploy this stack on a manager node inside your Swarm cluster:
docker stack deploy --compose-file=docker-stack.yml portainer
You can then access Portainer by using the IP address of any node in your Swarm cluster over port 9000 with a web browser.