You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
485 B
YAML
17 lines
485 B
YAML
---
|
|
- name: Portainer Agent
|
|
community.docker.docker_compose_v2:
|
|
project_name: portainer_agent
|
|
definition:
|
|
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:{{ portainer_agent_version }}'
|