first sync
Some checks failed
Run ansible / run-ansible-playbook (push) Failing after 1m0s

This commit is contained in:
2025-02-10 19:19:30 +01:00
parent 6335c8b085
commit 5800cf9263
25 changed files with 307 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
version: '3.2'
services:
agent:
image: portainer/agent:2.21.5
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
networks:
- agent_network
deploy:
mode: global
placement:
constraints: [node.platform.os == linux]
portainer:
image: portainer/portainer-ce:2.21.5
command: -H tcp://tasks.agent:9001 --tlsskipverify
ports:
- "9443:9443"
- "9000:9000"
- "8000:8000"
volumes:
- /share/portainer_data:/data
networks:
- agent_network
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.role == manager]
networks:
agent_network:
driver: overlay
attachable: true