ferry/config/settings.yml

62 lines
1.1 KiB
YAML
Raw Normal View History

2020-07-18 19:17:45 +08:00
script:
path: ./static/scripts
2020-07-13 20:33:20 +08:00
settings:
application:
2020-09-02 11:39:54 +08:00
domain: localhost:8002
2020-07-13 20:33:20 +08:00
host: 0.0.0.0
2020-09-02 11:39:54 +08:00
ishttps: false
2021-04-13 11:32:34 +08:00
mode: dev
2020-07-18 19:17:11 +08:00
name: ferry
2021-04-13 11:32:34 +08:00
port: "8002"
2020-07-13 20:33:20 +08:00
readtimeout: 1
writertimeout: 2
database:
dbtype: mysql
2025-06-11 11:32:48 +08:00
host: 127.0.0.1
2020-09-02 11:39:54 +08:00
name: ferry
2025-06-11 11:32:48 +08:00
password: root
2020-07-13 20:33:20 +08:00
port: 3306
2020-07-25 14:20:15 +08:00
username: root
2020-09-02 11:39:54 +08:00
domain:
gethost: 1
url: localhost:9527
2020-07-25 14:20:15 +08:00
email:
alias: ferry
host: smtp.163.com
pass: your password
port: 465
2020-09-02 11:39:54 +08:00
user: fdevops@163.com
2020-07-26 00:17:43 +08:00
gorm:
logmode: 0
maxidleconn: 0
2020-08-14 21:22:11 +08:00
maxopenconn: 20000
2020-09-02 11:39:54 +08:00
jwt:
secret: ferry
2020-09-30 01:19:39 +08:00
timeout: 86400
2020-08-15 23:34:37 +08:00
ldap:
anonymousquery: 0
2020-08-16 23:16:02 +08:00
basedn: dc=fdevops,dc=com
bindpwd: 123456
2020-09-02 11:39:54 +08:00
binduserdn: cn=admin,dc=fdevops,dc=com
host: localhost
port: 389
tls: 0
2020-08-20 22:37:41 +08:00
userfield: uid
2020-08-15 23:34:37 +08:00
log:
compress: 1
consolestdout: 1
2020-09-02 11:39:54 +08:00
filestdout: 0
level: debug
2020-08-15 23:34:37 +08:00
localtime: 1
2020-09-02 11:39:54 +08:00
maxage: 30
2020-08-15 23:34:37 +08:00
maxbackups: 300
maxsize: 10240
path: ./logs/ferry.log
2021-04-13 11:32:34 +08:00
public:
islocation: 0
2020-09-02 11:39:54 +08:00
redis:
2025-06-11 11:32:48 +08:00
url: redis://:127.0.0.1:6379
2020-09-02 11:39:54 +08:00
ssl:
key: keystring
pem: temp/pem.pem