We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0199ed5 commit 2e21447Copy full SHA for 2e21447
lib/docker-stack.yml
@@ -94,6 +94,18 @@ services:
94
labels:
95
- "UI=Swarm Visualizer"
96
97
+ portainer:
98
+ image: portainer/portainer
99
+ command: -H unix:///var/run/docker.sock
100
+ ports:
101
+ - "9000:9000"
102
+ volumes:
103
+ - /portainer-data:/data
104
+ - /var/run/docker.sock:/var/run/docker.sock
105
+ deploy:
106
+ placement:
107
+ constraints: [node.role == manager]
108
+
109
networks:
110
frontend:
111
backend:
0 commit comments