mylomen-server/common/config/config.dev.yaml

31 lines
537 B
YAML
Raw Normal View History

2023-06-04 22:54:54 +08:00
# 本机配置
fbServer:
appName: ai-gateway
# fbConsul
fbConsul:
2024-02-21 12:04:40 +08:00
address: https://consul.mylomen.com
datacenter: dg01
2024-04-29 19:35:18 +08:00
token: 4b29ca6c-3233-4c70-7bb1-a3f4c2a18281
2023-06-04 22:54:54 +08:00
# rpc
rpc:
api-golang: http://api-golang.consul.service:8080
# mysql
mysql:
2024-02-21 12:04:40 +08:00
logSql: true
2024-04-29 19:35:18 +08:00
dsn: uc:zELLqwk2hBp8QyJgEtH5YGc6WKMS3dXP@tcp(43.133.218.116:10119)/user_center?charset=utf8mb4&parseTime=True&loc=Local
maxIdleConn: 4
maxOpenConn: 4
2023-06-04 22:54:54 +08:00
connMaxLifetime: 3000
2024-04-29 19:35:18 +08:00
2023-06-04 22:54:54 +08:00
# redis
redis:
db: 1
addr: 127.0.0.1:6379
readTimeout: 6000
writeTimeout: 6000