Merge pull request #26 from lanyulei/dev

update config file.
This commit is contained in:
lyl_task 2020-09-02 11:40:19 +08:00 committed by GitHub
commit b9f5247988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,46 +2,42 @@ script:
path: ./static/scripts path: ./static/scripts
settings: settings:
application: application:
mode: prod # dev开发环境 test测试环境 prod线上环境 domain: localhost:8002
host: 0.0.0.0 host: 0.0.0.0
ishttps: false
mode: prod
name: ferry name: ferry
port: 8002 port: 8002
readtimeout: 1 readtimeout: 1
writertimeout: 2 writertimeout: 2
domain: localhost:8002
ishttps: false
ssl:
key: keystring
pem: temp/pem.pem
jwt:
secret: ferry
timeout: 3600
database: database:
name: ferry
dbtype: mysql dbtype: mysql
host: 127.0.0.1 host: 127.0.0.1
name: ferry
password: 123456 password: 123456
port: 3306 port: 3306
username: root username: root
redis: domain:
host: 127.0.0.1 gethost: 1
port: 6379 url: localhost:9527
email: email:
alias: ferry alias: ferry
host: smtp.163.com host: smtp.163.com
pass: your password pass: your password
port: 465 port: 465
user: your username user: fdevops@163.com
gorm: gorm:
logmode: 0 logmode: 0
maxidleconn: 0 maxidleconn: 0
maxopenconn: 20000 maxopenconn: 20000
domain: http://192.168.0.100:9527 jwt:
secret: ferry
timeout: 3600
ldap: ldap:
anonymousquery: 0 anonymousquery: 0
basedn: dc=fdevops,dc=com basedn: dc=fdevops,dc=com
bindpwd: 123456 bindpwd: 123456
binduserdn: admin binduserdn: cn=admin,dc=fdevops,dc=com
host: localhost host: localhost
port: 389 port: 389
tls: 0 tls: 0
@ -49,10 +45,16 @@ settings:
log: log:
compress: 1 compress: 1
consolestdout: 1 consolestdout: 1
filestdout: 1 filestdout: 0
level: info level: debug
localtime: 1 localtime: 1
maxAge: 30 maxage: 30
maxbackups: 300 maxbackups: 300
maxsize: 10240 maxsize: 10240
path: ./logs/ferry.log path: ./logs/ferry.log
redis:
host: 127.0.0.1
port: 6379
ssl:
key: keystring
pem: temp/pem.pem