modify(portainer-ce): add env-file

This commit is contained in:
cnphpbb
2024-03-27 06:18:29 +08:00
parent e32349a119
commit 433769f282
46 changed files with 7 additions and 4 deletions

4
portainer-ce/portainer-agent-stack.yml Normal file → Executable file
View File

@@ -2,7 +2,7 @@ version: '3.2'
services:
agent:
image: portainer/agent:2.19.4
image: ${AGENT_TAG}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/docker/volumes:/var/lib/docker/volumes
@@ -14,7 +14,7 @@ services:
constraints: [node.platform.os == linux]
portainer:
image: portainer/portainer-ce:2.19.4
image: ${IMAGE_TAG}
command: -H tcp://tasks.agent:9001 --tlsskipverify
ports:
- "9000:9000"