10 Star 39 Fork 9

Gitee 极速下载 / Crocodile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/labulaka521/crocodile
克隆/下载
core_docker.toml 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
# 认证密钥
secrettoken = "weinjuwiwiuwu"
# 日志
[log]
# 日志路径,为空将输出控制台
logpath = ""
# log size (M)
maxsize = 10
# compress log
compress = true
# log save time (day)
maxage = 7
# save total log file total
maxbackups = 10
# log level
loglevel = "debug"
# text or json output
format = "text"
# tls验证
[cert]
# if enable, must be set cert,key file
enable = false
certfile="cert.pem"
keyfile="key.pem"
# crocodile server
[server]
port = 8080
maxhttptime = "10s" # 秒
[server.db]
# mysql: [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN]
# root:123456@tcp(localhost:3306)/crocodile?charset=utf8mb4&parseTime=True&loc=Local
# mysql需要提前建好数据库
drivename = "mysql"
dsn = "root:crocodile@tcp(mysql:3306)/crocodile?charset=utf8mb4&parseTime=True&loc=Local"
# sqlite3暂时不支持
# sqlite3: crocodile.db
# drivename = "sqlite3"
# dsn = "crocodile.db"
maxidle = 10
maxconn = 20
maxquerytime = "10s"
[server.redis]
addr = "redis:6379"
password = ""
# 消息通知配置
[notify]
# 邮箱
[notify.email]
enable = false
smtphost = "smtp.163.com"
port = 25
username = "user@163.com"
password = "password"
from = "from@163.com"
tls = false
# 匿名发送
anonymous = false
# 如使用自建邮件系统请设置 skipVerify 为 true 以避免证书校验错误
skipverify = false
# 钉钉
[notify.dingding]
enable = false
webhook = ""
# 安全设置
# 1 自定义关键字
# 2 加签
# 3 IP地址
securelevel = 1
# 如果securelevel 为2 需要填写加签密钥
secret = ""
# slack
[notify.slack]
enable = false
webhook = ""
# telegram
[notify.telegram]
enable = false
bottoken = ""
# 企业微信
[notify.wechat]
enable = false
cropid = "" # wwb2f31bd2bad4dce9
agentid = 1000002
agentsecret = ""
[notify.webhook]
enable = false
webhookurl = "http://127.0.0.1:8088"
# 执行器设置
[client]
# client port
port = 8088 # 0为随机端口
# 调度中心集群地址,可以设置多个防止单点故障
serveraddrs = ["master:8080"]
# 将保存只此主机组,如果不存在或者选项为空将忽略
hostgroup = ""
# 权重
weight = 100
# remark
remark = "test remark"
1
https://gitee.com/mirrors/Crocodile.git
git@gitee.com:mirrors/Crocodile.git
mirrors
Crocodile
Crocodile
master

搜索帮助