feat(templates): update portainer-agent stack

This commit is contained in:
Anthony Lapenna
2018-09-11 14:25:10 +02:00
parent 8e2c6522dc
commit ed453c97e8

View File

@@ -7,6 +7,7 @@ services:
AGENT_CLUSTER_ADDR: tasks.agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- target: 9001
published: 9001
@@ -16,7 +17,10 @@ services:
- portainer_agent
deploy:
mode: global
placement:
constraints: [node.platform.os == linux]
networks:
portainer_agent:
driver: overlay
attachable: true