Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: Remove settings in docker compose config #427

Merged
merged 1 commit into from
Feb 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 3 additions & 36 deletions docker/sample/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,18 @@
version: '3.9'

services:
bilibili_tool:
image: zai7lou/bilibili_tool_pro
image: zai7lou/bilibili_tool_pro:latest
container_name: bili
# restart: always
restart: unless-stopped
tty: true
volumes:
- ./Logs:/app/Logs
- ./appsettings.json:/app/appsettings.json
- ./cookies.json:/app/cookies.json
tty: true
environment:
- ASPNETCORE_ENVIRONMENT=Production
- Ray_Security__IsSkipDailyTask=false

# 定时任务
- Ray_DailyTaskConfig__Cron=0 15 * * *
- Ray_LiveLotteryTaskConfig__Cron=0 22 * * *
- Ray_UnfollowBatchedTaskConfig__Cron=0 6 1 * *
- Ray_VipBigPointConfig__Cron=7 1 * * *
- Ray_LiveFansMedalTaskConfig__Cron=5 0 * * *

# UA:
- Ray_Security__UserAgent=
# 开始运行前随机随眠最大分钟数:
- Ray_Security__RandomSleepMaxMin=2
# 调用接口间的间隔秒数:
- Ray_Security__IntervalSecondsBetweenRequestApi=

# 目标投币数量:
- Ray_DailyTaskConfig__NumberOfCoins=
# 达到六级后是否开始白嫖:
- Ray_DailyTaskConfig__SaveCoinsWhenLv6=

# 天选抽奖指定排除关键字
- Ray_LiveLotteryTaskConfig__ExcludeAwardNames=
# 天选抽奖指定包含关键字
- Ray_LiveLotteryTaskConfig__IncludeAwardNames=

# 企业微信推送地址:
- Ray_Serilog__WriteTo__4__Args__webHookUrl=
# 钉钉:
- Ray_Serilog__WriteTo__5__Args__webHookUrl=
# PushPlus推送:
- Ray_Serilog__WriteTo__9__Args__token=
- Ray_Serilog__WriteTo__9__Args__topic=
- Ray_Serilog__WriteTo__9__Args__channel=
- Ray_Serilog__WriteTo__9__Args__webhook=
# Server酱推送scKey:
- Ray_Serilog__WriteTo__6__Args__turboScKey=