Dockerfile
This commit is contained in:
18
config.yml
18
config.yml
@@ -56,10 +56,10 @@ database:
|
||||
timeMaintainDisabled: false # (可选)是否完全关闭时间更新特性,为true时CreatedAt/UpdatedAt/DeletedAt都将失效
|
||||
tenant-1:
|
||||
- type: "pgsql"
|
||||
host: "localhost"
|
||||
port: "5432"
|
||||
host: "116.204.74.41"
|
||||
port: "15432"
|
||||
user: "postgres"
|
||||
pass: "123456"
|
||||
pass: "Bjang09@686^*^"
|
||||
name: "tenant"
|
||||
role: "master"
|
||||
prefix: "assets_" # (可选)表名前缀
|
||||
@@ -79,7 +79,7 @@ database:
|
||||
redis:
|
||||
# 集群模式配置方法
|
||||
default:
|
||||
address: localhost:6379
|
||||
address: 116.204.74.41:6379
|
||||
db: 0
|
||||
idleTimeout: "60s"
|
||||
maxConnLifetime: "90s"
|
||||
@@ -89,7 +89,7 @@ redis:
|
||||
writeTimeout: "30s"
|
||||
maxActive: 100
|
||||
test:
|
||||
address: localhost:6379
|
||||
address: 116.204.74.41:6379
|
||||
db: 1
|
||||
idleTimeout: "60s"
|
||||
maxConnLifetime: "90s"
|
||||
@@ -100,14 +100,14 @@ redis:
|
||||
maxActive: 100
|
||||
|
||||
consul:
|
||||
address: localhost:8500
|
||||
address: 116.204.74.41:8500
|
||||
|
||||
jaeger:
|
||||
addr: localhost:4318
|
||||
addr: 116.204.74.41:4318
|
||||
|
||||
nats:
|
||||
default:
|
||||
url: "nats://localhost:4222"
|
||||
url: "nats://116.204.74.41:4222"
|
||||
|
||||
# 文件上传服务地址,与oss模块minio中的endpoint一致
|
||||
filePrefix: "http://116.204.74.41:9000"
|
||||
@@ -119,7 +119,7 @@ cache:
|
||||
gmq:
|
||||
redis:
|
||||
primary:
|
||||
addr: "localhost"
|
||||
addr: "116.204.74.41"
|
||||
port: "6379"
|
||||
db: 0
|
||||
username: ""
|
||||
|
||||
Reference in New Issue
Block a user