docker-compose/portainer-agent/docker-compose.yml
2023-06-19 18:31:06 +02:00

12 lines
320 B
YAML

version: '3.3'
services:
agent:
ports:
- '9001:9001'
container_name: portainer_agent
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/var/lib/docker/volumes:/var/lib/docker/volumes'
image: 'portainer/agent:2.18.2'