forked from DevOps/deploy.stack
chore: add env.cfg.example templates and clean up config files
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# ============================================================
|
||||
# ntfy 部署 — 公共环境变量模板(不含敏感信息)
|
||||
# 复制为 env.cfg 后填入真实值,env.cfg 已被 .gitignore 忽略
|
||||
# ============================================================
|
||||
#
|
||||
# 使用方式:
|
||||
# cp env.cfg.example env.cfg
|
||||
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
||||
# docker compose -p ntfy --env-file ./env.cfg -f ./stack.yml up -d
|
||||
#
|
||||
|
||||
|
||||
IMAGE_TAG_VER=v2.24
|
||||
|
||||
IMAGE_TAG=binwiederhier/ntfy:${IMAGE_TAG_VER}
|
||||
|
||||
Volumes_Path=/data/volumes/ntfy
|
||||
|
||||
NTFY_BASE_URL=http://ntfy:80
|
||||
|
||||
# Web推送密钥对(自行生成):
|
||||
# docker run --rm binwiederhier/ntfy ntfy web push generate > keys.txt
|
||||
# 或:docker exec ntfy ntfy web push generate
|
||||
# 然后将 public key 和 private key 分别填入下方
|
||||
NTFY_WEB_PUSH_PUBLIC_KEY=
|
||||
NTFY_WEB_PUSH_PRIVATE_KEY=
|
||||
|
||||
# Web推送关联的邮件地址(用于通知等场景)
|
||||
NTFY_WEB_PUSH_EMAIL_ADDRESS=
|
||||
Reference in New Issue
Block a user