chore: add env.cfg.example templates and clean up config files

This commit is contained in:
cnphpbb
2026-08-13 17:59:23 +08:00
parent c75c9884c8
commit c6eccd687b
88 changed files with 4264 additions and 88 deletions
+13
View File
@@ -0,0 +1,13 @@
# ============================================================
# tasks 部署 — 公共环境变量模板(不含敏感信息)
# 复制为 env.cfg 后填入真实值,env.cfg 已被 .gitignore 忽略
# ============================================================
#
# 使用方式:
# cp env.cfg.example env.cfg
# $EDITOR env.cfg # 填入真实密码/密钥后保存
# docker compose -p tasks --env-file ./env.cfg -f ./stack.yml up -d
#
IMAGE_TAG=baldissaramatheus/tasks.md:2.5.4
Volumes_Path=/data/volumes/tasks.md
+20
View File
@@ -0,0 +1,20 @@
# path:: mkdir -pv /data/volumes/tasks.md/{tasks,config}
# pull:: docker compose -p tasks.md --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml pull
# run:: docker compose -p tasks.md --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml up -d
services:
tasks.md:
image: ${IMAGE_TAG}
container_name: tasks.md
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- ${Volumes_Path}/tasks:/tasks
- ${Volumes_Path}/config:/config
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
ports:
- 5480:8080