Refactor portainer service in swarm/portainer.yml to use specific version of portainer-ce image
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user