27 lines
666 B
YAML
27 lines
666 B
YAML
# 2023-09-25
|
|
# Stack: portainer_agent
|
|
---
|
|
|
|
portainer_agent:
|
|
name: "portainer-agent"
|
|
ipv6: true
|
|
|
|
directories: []
|
|
|
|
services:
|
|
|
|
- name: "portainer-agent"
|
|
image: "portainer/agent:alpine"
|
|
uid: "0"
|
|
gid: "0"
|
|
privileged: true
|
|
restart: "always"
|
|
ports:
|
|
- { exposed: "${VM_PORTAINER_AGENT}", container: "9001" }
|
|
healthcheck: './agent --help || exit 1'
|
|
ressources:
|
|
memory: 512M
|
|
volumes:
|
|
- { local: '/var/run/docker.sock', container: '/var/run/docker.sock', mode: 'rw' }
|
|
- { local: '/var/lib/docker/volumes/', container: '/var/lib/docker/volumes/', mode: 'rw' }
|