Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c8ccf42655
|
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: localhost
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: localhost:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: account-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://localhost:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
||||||
|
|
@ -18,4 +18,12 @@
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.czg</groupId>
|
||||||
|
<artifactId>order-service</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: 121.40.128.145
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: 101.37.12.135:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: order-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://101.37.12.135:8848 # Nacos 服务地址
|
||||||
|
group: server
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: localhost
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: localhost:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: order-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://localhost:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
||||||
|
|
@ -4,6 +4,8 @@ server:
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: order-server
|
name: order-server
|
||||||
|
profiles:
|
||||||
|
active: dev
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
config: classpath:logback.xml
|
config: classpath:logback.xml
|
||||||
|
|
|
||||||
|
|
@ -24,3 +24,17 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 101.37.12.135:8848
|
server-addr: 101.37.12.135:8848
|
||||||
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: product-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://101.37.12.135:8848 # Nacos 服务地址
|
||||||
|
group: server
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: localhost
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: localhost:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: product-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://localhost:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: localhost
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
min-idle: 0
|
||||||
|
max-idle: 8
|
||||||
|
max-wait: -1ms
|
||||||
|
max-active: 16
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: localhost:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: system-server
|
||||||
|
qos-port: 22224
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://localhost:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9401
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
Loading…
Reference in New Issue