mirror of https://github.com/portainer/portainer
19 lines
387 B
YAML
19 lines
387 B
YAML
version: '3'
|
|
services:
|
|
agent:
|
|
image: portainer/agent
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
|
ports:
|
|
- 9001:9001
|
|
networks:
|
|
- agent_network
|
|
deploy:
|
|
mode: global
|
|
placement:
|
|
constraints: [node.platform.os == linux]
|
|
networks:
|
|
agent_network:
|
|
driver: overlay
|