mirror of
https://gitee.com/goploy/goploy.git
synced 2024-11-29 18:57:59 +08:00
58 lines
862 B
TOML
58 lines
862 B
TOML
env = 'production'
|
|
[app]
|
|
deployLimit = 8
|
|
shutdownTimeout = 10
|
|
repositoryPath = ''
|
|
|
|
[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' |