modify(all): modify portainer-agent-stack +

This commit is contained in:
cnphpbb
2025-03-26 17:49:22 +08:00
parent 59ae6df2ba
commit 1b21efc3a5
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
# docker stack deploy -c./portainer-ce/portainer-agent-stack.yml base
version: '3.2'
services:
@@ -6,6 +7,8 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/docker/volumes:/var/lib/docker/volumes
env_file:
- ./env.cfg
networks:
- agent_network
deploy:
@@ -22,6 +25,8 @@ services:
- "8000:8000"
volumes:
- portainer_data:/data
env_file:
- ./env.cfg
networks:
- agent_network
deploy:

View File

@@ -1,6 +1,6 @@
# path:: mkdir -pv /data/volumes/tasks.md/{tasks,config}
# pull:: docker compose -p memos --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml pull
# run:: docker compose -p memos --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml up -d
# pull:: docker tasks.md -p memos --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml pull
# run:: docker tasks.md -p memos --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml up -d
services:
tasks.md: