Portainer updated
This commit is contained in:
parent
1d2bc03c32
commit
232b9c2285
|
@ -1,21 +1,7 @@
|
|||
version: '3.2'
|
||||
services:
|
||||
main:
|
||||
image: portainer/portainer-ce
|
||||
command: -H tcp://tasks.agent:9001 --tlsskipverify
|
||||
ports:
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
- data:/data
|
||||
networks:
|
||||
- agent
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.hostname == vch1]
|
||||
agent:
|
||||
image: portainer/agent
|
||||
image: portainer/agent:2.11.0
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||
|
@ -25,9 +11,27 @@ services:
|
|||
mode: global
|
||||
placement:
|
||||
constraints: [node.platform.os == linux]
|
||||
main:
|
||||
image: portainer/portainer-ce:2.11.0
|
||||
command: -H tcp://tasks.agent:9001 --tlsskipverify
|
||||
ports:
|
||||
- "80:9000"
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- data:/data
|
||||
networks:
|
||||
- agent
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
networks:
|
||||
agent:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
volumes:
|
||||
data:
|
||||
data:
|
||||
driver: rexray
|
||||
driver_opts:
|
||||
size: 4
|
Loading…
Reference in New Issue