update config file.

This commit is contained in:
Mr. Lan 2020-07-18 19:17:11 +08:00
parent da75119a2d
commit 2244fef03a
2 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ settings:
host: 0.0.0.0 host: 0.0.0.0
ishttps: false ishttps: false
mode: dev mode: dev
name: testApp name: ferry-test
port: "8002" port: "8002"
readtimeout: 1 readtimeout: 1
writertimeout: 2 writertimeout: 2
@ -14,7 +14,7 @@ settings:
dbtype: mysql dbtype: mysql
host: 127.0.0.1 host: 127.0.0.1
name: ferry name: ferry
password: ferry@2020 password: 123456
port: 3306 port: 3306
username: ferry username: ferry
jwt: jwt:

View File

@ -1,24 +1,24 @@
settings: settings:
application: application:
mode: dev # dev开发环境 test测试环境 prod线上环境 mode: prod # dev开发环境 test测试环境 prod线上环境
host: 0.0.0.0 host: 0.0.0.0
name: testApp name: ferry
port: 8000 port: 8002
readtimeout: 1 readtimeout: 1
writertimeout: 2 writertimeout: 2
domain: localhost:8000 domain: localhost:8002
ishttps: false ishttps: false
ssl: ssl:
key: keystring key: keystring
pem: temp/pem.pem pem: temp/pem.pem
log: log:
operdb: false operdb: false
dir: temp/logs dir: logs
jwt: jwt:
secret: ferry secret: ferry
timeout: 3600 timeout: 3600
database: database:
name: ferry_admin name: ferry
dbtype: mysql dbtype: mysql
host: 127.0.0.1 host: 127.0.0.1
password: 123456 password: 123456