2023-06-04 22:54:54 +08:00
|
|
|
# 本机配置
|
2024-09-30 22:49:21 +08:00
|
|
|
myServer:
|
2024-10-01 02:13:07 +08:00
|
|
|
appName: mylomen-server
|
2024-09-30 22:49:21 +08:00
|
|
|
jwtSigningKey: t6p4n4g79mceqbe2b6syq4k5ahupy2h9
|
2023-06-04 22:54:54 +08:00
|
|
|
|
|
|
|
# fbConsul
|
|
|
|
fbConsul:
|
2024-05-12 13:15:07 +08:00
|
|
|
address: 10.0.12.8:8500
|
|
|
|
datacenter: sh01
|
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
|
2024-10-08 22:06:28 +08:00
|
|
|
wss: http://127.0.0.1:8080
|
|
|
|
ollama: http://10.0.12.8:11434
|
2023-06-04 22:54:54 +08:00
|
|
|
|
2024-09-29 14:08:55 +08:00
|
|
|
# pgSql
|
|
|
|
pgSql:
|
2024-02-21 12:04:40 +08:00
|
|
|
logSql: false
|
2024-09-29 21:14:52 +08:00
|
|
|
dsn: postgres://postgres:zym520!@10.0.12.8:15432/mylomen_user
|
2024-09-29 20:14:50 +08:00
|
|
|
maxIdleConn: 30
|
|
|
|
maxOpenConn: 30
|
|
|
|
connMaxLifetime: 0
|
2023-06-04 22:54:54 +08:00
|
|
|
|
|
|
|
# redis
|
|
|
|
redis:
|
|
|
|
db: 1
|
2024-05-12 13:15:07 +08:00
|
|
|
addr: 10.0.12.8:6379
|
2023-06-04 22:54:54 +08:00
|
|
|
readTimeout: 6000
|
|
|
|
writeTimeout: 6000
|
|
|
|
|