docker-compose/portainer-agent/docker-compose.yml

12 lines
320 B
YAML
Raw Normal View History

2023-06-19 19:31:06 +03:00
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'