Skip to content

portainer/portainer-compose

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Portainer compose setup

A simple setup to deploy Portainer using docker-compose or docker stack deploy (Swarm).

Requirements

  1. Install Docker.
  2. (optional) Install Docker-compose.
  3. 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.