From b064c02c58a211225b31c76da6b91d2e41a32648 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Sun, 31 Aug 2025 17:14:16 +0800 Subject: [PATCH] =?UTF-8?q?ci(ntfy):=20=E6=B7=BB=E5=8A=A0=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E5=AD=98=E5=82=A8=E5=8D=B7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加attachments目录作为新的存储卷挂载点,用于存储ntfy服务的附件文件 --- ntfy/stack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ntfy/stack.yml b/ntfy/stack.yml index 47feb52..6917d96 100644 --- a/ntfy/stack.yml +++ b/ntfy/stack.yml @@ -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