33 lines
582 B
YAML
33 lines
582 B
YAML
# 本机配置
|
|
myServer:
|
|
appName: mylomen-server
|
|
jwtSigningKey: t6p4n4g79mceqbe2b6syq4k5ahupy2h9
|
|
|
|
# fbConsul
|
|
fbConsul:
|
|
address: 10.0.12.8:8500
|
|
datacenter: sh01
|
|
token: 4b29ca6c-3233-4c70-7bb1-a3f4c2a18281
|
|
|
|
# rpc
|
|
rpc:
|
|
api-golang: http://api-golang.consul.service:8080
|
|
wss: http://127.0.0.1:8080
|
|
ollama: http://10.0.12.8:11434
|
|
|
|
# pgSql
|
|
pgSql:
|
|
logSql: false
|
|
dsn: postgres://postgres:zym520!@10.0.12.8:15432/mylomen_user
|
|
maxIdleConn: 30
|
|
maxOpenConn: 30
|
|
connMaxLifetime: 0
|
|
|
|
# redis
|
|
redis:
|
|
db: 1
|
|
addr: 10.0.12.8:6379
|
|
readTimeout: 6000
|
|
writeTimeout: 6000
|
|
|