Deploy Portainer via docker swarm
Installation Guide
Copy the portainer stack on the master node
curl -L https://downloads.portainer.io/portainer-ee-agent-stack.yml -o portainer-agent-stack.yml2. Modify the portainer-agent-stack.yml file with the community edition & remove versions
# By default
portainer:
image: portainer/portainer-ee:<version>
# Modify to:
portainer:
image: portainer/portainer-ce3. Deploy the stack
4. Secure with SSL
Create overlay network
Generate Certificate
Create Secrets for Key and CRT
Modify Swarm file
Example:
Run deployment again
Resources:
Last updated