first commit
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user