forked from DevOps/deploy.stack
ci(ntfy): 添加附件存储卷配置
添加attachments目录作为新的存储卷挂载点,用于存储ntfy服务的附件文件
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# mkdir -pv /data/volumes/ntfy/{cache,etc}
|
# mkdir -pv /data/volumes/ntfy/{cache,etc,attachments}
|
||||||
# pull:: docker compose -p ntfy --env-file ./ntfy/env.cfg -f ./ntfy/stack.yml pull
|
# pull:: docker compose -p ntfy --env-file ./ntfy/env.cfg -f ./ntfy/stack.yml pull
|
||||||
# run:: docker compose -p ntfy --env-file ./ntfy/env.cfg -f ./ntfy/stack.yml up -d
|
# run:: docker compose -p ntfy --env-file ./ntfy/env.cfg -f ./ntfy/stack.yml up -d
|
||||||
|
|
||||||
@@ -27,3 +27,4 @@ services:
|
|||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- ${Volumes_Path}/cache:/var/cache/ntfy
|
- ${Volumes_Path}/cache:/var/cache/ntfy
|
||||||
- ${Volumes_Path}/etc:/etc/ntfy/ntfy.conf
|
- ${Volumes_Path}/etc:/etc/ntfy/ntfy.conf
|
||||||
|
- ${Volumes_Path}/attachments:/var/lib/ntfy/attachments
|
||||||
|
|||||||
Reference in New Issue
Block a user