mylomen-server/common/config/config.dev.yaml
shaoyongjun 342fbf9a61 to:sync
2024-10-08 22:06:28 +08:00

34 lines
606 B
YAML

# 本机配置
myServer:
appName: mylomen-server
jwtSigningKey: t2vr8fyqh5mvfvrjdszb6ev3eas4a9kw
# fbConsul
fbConsul:
address: https://consul.mylomen.com
datacenter: dg01
token: 4b29ca6c-3233-4c70-7bb1-a3f4c2a18281
# rpc
rpc:
api-golang: http://api-golang.consul.service:8080
wss: http://127.0.0.1:8080
ollama: https://localaiapi.mylomen.com
# pgSql
pgSql:
logSql: true
dsn: postgres://postgres:zym520!@123.207.198.132:15432/mylomen_user
maxIdleConn: 4
maxOpenConn: 4
connMaxLifetime: 0
# redis
redis:
db: 1
addr: 127.0.0.1:6379
readTimeout: 6000
writeTimeout: 6000