Refactor portainer service in swarm/portainer.yml to use specific version of portainer-ce image

This commit is contained in:
2024-06-04 22:52:50 +08:00
parent ff1659e969
commit fbc5b9146d
+2 -2
View File
@@ -1,10 +1,10 @@
services:
agent:
image: portainer/agent
image: portainer/agent:sts
environment:
AGENT_CLUSTER_ADDR: tasks.agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/docker.sock:/var/run/docker.sock:z
- /var/lib/docker/volumes:/var/lib/docker/volumes
networks:
- agent-network