2023-06-04 22:54:54 +08:00
|
|
|
# 本机配置
|
2024-09-30 22:49:21 +08:00
|
|
|
myServer:
|
2024-09-29 14:08:55 +08:00
|
|
|
appName: mylomen_server
|
2024-09-30 22:49:21 +08:00
|
|
|
jwtSigningKey: t2vr8fyqh5mvfvrjdszb6ev3eas4a9kw
|
2023-06-04 22:54:54 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2024-09-29 14:08:55 +08:00
|
|
|
# pgSql
|
|
|
|
pgSql:
|
2024-02-21 12:04:40 +08:00
|
|
|
logSql: true
|
2024-09-29 21:14:52 +08:00
|
|
|
dsn: postgres://postgres:zym520!@123.207.198.132:15432/mylomen_user
|
2024-04-29 19:35:18 +08:00
|
|
|
maxIdleConn: 4
|
|
|
|
maxOpenConn: 4
|
2024-09-29 20:14:50 +08:00
|
|
|
connMaxLifetime: 0
|
2023-06-04 22:54:54 +08:00
|
|
|
|
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
|
|
|
|
|