New Services:
Some checks failed
Deploy to Swarm / deploy (push) Failing after 3s

This commit is contained in:
2025-10-25 12:33:03 -04:00
parent f52f61e448
commit 8f9bd5ec8d
14 changed files with 386 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
networks:
homelab:
external: true
services:
agent:
image: portainer/agent:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
networks:
- homelab
deploy:
mode: global
placement:
constraints:
- node.platform.os == linux
portainer:
image: portainer/portainer-ce:latest
command: -H tcp://tasks.agent:9001 --tlsskipverify
ports:
- "9443:9443"
- "9000:9000"
volumes:
- /mnt/swarm-data/portainer:/data
networks:
- homelab
deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager