ferry/config/settings.yml

54 lines
977 B
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-07-18 19:17:11 +08:00
mode: prod # dev开发环境 test测试环境 prod线上环境
2020-07-13 20:33:20 +08:00
host: 0.0.0.0
2020-07-18 19:17:11 +08:00
name: ferry
port: 8002
2020-07-13 20:33:20 +08:00
readtimeout: 1
writertimeout: 2
2020-07-18 19:17:11 +08:00
domain: localhost:8002
2020-07-13 20:33:20 +08:00
ishttps: false
ssl:
key: keystring
pem: temp/pem.pem
jwt:
secret: ferry
timeout: 3600
database:
2020-07-18 19:17:11 +08:00
name: ferry
2020-07-13 20:33:20 +08:00
dbtype: mysql
host: 127.0.0.1
password: 123456
port: 3306
2020-07-25 14:20:15 +08:00
username: root
2020-08-15 11:45:00 +08:00
redis:
host: 127.0.0.1
port: 6379
2020-07-25 14:20:15 +08:00
email:
alias: ferry
host: smtp.163.com
pass: your password
port: 465
2020-07-26 00:17:43 +08:00
user: your username
gorm:
logmode: 0
maxidleconn: 0
2020-08-14 21:22:11 +08:00
maxopenconn: 20000
domain: http://192.168.0.100:9527
2020-08-15 23:34:37 +08:00
ldap:
host: 127.0.0.1
port: 389
2020-08-16 23:16:02 +08:00
basedn: dc=fdevops,dc=com
2020-08-15 23:34:37 +08:00
log:
compress: 1
consolestdout: 1
filestdout: 1
level: info
localtime: 1
maxAge: 30
maxbackups: 300
maxsize: 10240
path: ./logs/ferry.log