Portainer compose setup
A simple setup to deploy Portainer using docker-compose
or docker stack deploy
(Swarm).
Requirements
- Install Docker.
- (optional) Install Docker-compose.
- Clone this repository
Usage
Compose
See nginx-proxy/
or traefik/
for Compose deployments.
Swarm
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.