mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 17:55:06 +01:00
16 lines
354 B
YAML
16 lines
354 B
YAML
---
|
|
services:
|
|
app:
|
|
container_name: portainer-agent
|
|
deploy:
|
|
mode: global
|
|
image: docker.io/portainer/agent:latest
|
|
ports:
|
|
- 9001:9001
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
|
networks:
|
|
- portainer-agent_default
|
|
restart: unless-stopped
|