31 lines
557 B
YAML
31 lines
557 B
YAML
|
name: web
|
||
|
host: 0.0.0.0
|
||
|
port: 8088
|
||
|
mode: dev
|
||
|
logging:
|
||
|
path: ./logs
|
||
|
prefix: hpds-iot-web
|
||
|
errorFileSuffix: error.log
|
||
|
warnFileSuffix: warn.log
|
||
|
infoFileSuffix: info.log
|
||
|
debugFileSuffix: debug.log
|
||
|
maxSize: 100
|
||
|
maxBackups: 3000
|
||
|
maxAge: 30
|
||
|
development: true
|
||
|
consul:
|
||
|
host: http://consul.hpds.cc
|
||
|
port: 80
|
||
|
interval: 300
|
||
|
timeout: 5
|
||
|
deregister: 1
|
||
|
db:
|
||
|
conn: root:OIxv7QptYBO3@tcp(192.168.0.200:3306)/hpds_jky?charset=utf8mb4
|
||
|
drive_name: mysql
|
||
|
cache:
|
||
|
host: 192.168.0.200
|
||
|
port: 6379
|
||
|
db: 8
|
||
|
pool_size: 10
|
||
|
functions:
|
||
|
- name: web-sf
|