1 Star 0 Fork 210

落星鱼/goploy

forked from goploy/goploy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
goploy.example.toml 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
zhenorzz 提交于 2024-04-09 16:37 . Added: login config
env = 'production'
[app]
deployLimit = 8
shutdownTimeout = 10
repositoryPath = ''
# How many days before the password needs to be changed?
passwordPeriod = 0
# Maximum number of login attempts
LoginMaxErrorTimes = 5
# The duration of lockout after reaching the maximum number of login attempts
LoginLockDuration = 1800
[cors]
enabled = false
origins = '*'
methods = 'GET, POST, PUT, DELETE, OPTIONS'
headers = 'X-API-KEY'
credentials = true
[cookie]
name = 'goploy_token'
expire = 86400
[jwt]
key = '2021-12-14 18:43:15.8805255 +0800 CST m=+0.004156701'
[db]
type = 'mysql'
user = 'root'
password = ''
host = '127.0.0.1'
port = '3306'
database = 'goploy'
[log]
path = 'stdout'
[web]
port = '80'
# public ldap https://www.forumsys.com/2022/05/10/online-ldap-test-server/
[ldap]
enabled = false
url = 'ldap://ldap.forumsys.com'
bindDN = 'cn=read-only-admin,dc=example,dc=com'
password = 'password'
baseDN = 'dc=example,dc=com'
uid = 'uid'
name = 'cn'
userFilter = ''
[dingtalk]
appKey = ''
appSecret = ''
[feishu]
appKey = ''
appSecret = ''
[captcha]
enabled = false
[cache]
type = 'memory'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/luo123qwe/goploy.git
[email protected]:luo123qwe/goploy.git
luo123qwe
goploy
goploy
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385