first commit

This commit is contained in:
2026-05-28 00:34:22 +08:00
commit 0b1d447622
12 changed files with 1288 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
dy-monitor:
build: .
container_name: dy-monitor
restart: always
environment:
# 每30秒重新运行一次检查默认每天早上8点
# - CRON=*/30 * * * * *
# 每30秒重新运行一次检查默认每天早上8点
# - CRON=*/30 * * * * *
# - DOUYIN_PAGE=抖音主播主页地址
- PAGE_TIMEOUT=30000
# Chrome 路径
- CHROME_PATH=/usr/bin/chromium
# 可选覆盖邮箱、URL
# - MAIL_HOST=xxx@qq.com
# - MAIL_PORT=xxx@qq.com
# - MAIL_SECURE=xxx@qq.com
# - MAIL_USER=xxx
# - MAIL_PASS=xxx
# # 持久化数据库文件
# volumes:
# - ./db.json:/app/db.json