ci(ntfy): 添加附件存储卷配置

添加attachments目录作为新的存储卷挂载点,用于存储ntfy服务的附件文件
This commit is contained in:
2025-08-31 17:14:16 +08:00
parent caea5b93df
commit b064c02c58

View File

@@ -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
# 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
- ${Volumes_Path}/cache:/var/cache/ntfy
- ${Volumes_Path}/etc:/etc/ntfy/ntfy.conf
- ${Volumes_Path}/attachments:/var/lib/ntfy/attachments