mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-06-24 22:16:39 +00:00
模块构建完成
This commit is contained in:
24
doc/yml/author-service/author-service.yml
Normal file
24
doc/yml/author-service/author-service.yml
Normal file
@ -0,0 +1,24 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 660
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
||||
group: dev
|
||||
|
24
doc/yml/book-service/book-service.yml
Normal file
24
doc/yml/book-service/book-service.yml
Normal file
@ -0,0 +1,24 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 620
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
||||
|
||||
|
22
doc/yml/news-service/news-service.yml
Normal file
22
doc/yml/news-service/news-service.yml
Normal file
@ -0,0 +1,22 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 630
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
3
doc/yml/novel-common/novel-jwt.yml
Normal file
3
doc/yml/novel-common/novel-jwt.yml
Normal file
@ -0,0 +1,3 @@
|
||||
jwt:
|
||||
secret: NDYzMmZjNTExOGE1YjEzNTQ2OTlkMzUzYjUyNTgyZDFkYmNjNzZjODhmMzk2ZDk0NTFiNzA5MmYxNzhhZGI0ZGM2NDdmNzBlMzE3Nzg2NzE1NWE3MGQ5ZWFmMzQ4ODk1MDcyNzA3ZTkyM2VlOTdhZGJkNDYxM2QwYzU3NWE3Yzk
|
||||
expiration: 604800
|
34
doc/yml/novel-gateway/novel-gateway.yml
Normal file
34
doc/yml/novel-gateway/novel-gateway.yml
Normal file
@ -0,0 +1,34 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 527
|
||||
spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
||||
gateway:
|
||||
routes:
|
||||
- id: user-route
|
||||
uri: lb://user-service
|
||||
predicates:
|
||||
- Path=/api/user/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<segment>.*), /$\{segment}
|
||||
- id: monitor-route
|
||||
uri: lb://novel-monitor
|
||||
predicates:
|
||||
- Path=/monitor/**
|
||||
filters:
|
||||
- RewritePath=/monitor/(?<segment>.*), /$\{segment}
|
||||
|
||||
|
||||
|
42
doc/yml/novel-home/novel-home.yml
Normal file
42
doc/yml/novel-home/novel-home.yml
Normal file
@ -0,0 +1,42 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 640
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
||||
|
||||
#Redis服务器IP
|
||||
redis:
|
||||
host: 47.106.243.172
|
||||
#Redis服务器连接端口
|
||||
port: 6379
|
||||
#Redis服务器连接密码
|
||||
password:
|
||||
jedis:
|
||||
pool:
|
||||
#连接池最大连接数(使用负值表示没有限制)
|
||||
max-active: 8
|
||||
#连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: 1
|
||||
#连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-idle: 8
|
||||
#连接池中的最小空闲连接
|
||||
min-idle: 0
|
||||
#连接超时时间(毫秒)
|
||||
timeout: 30000
|
19
doc/yml/novel-monitor/novel-monitor.yml
Normal file
19
doc/yml/novel-monitor/novel-monitor.yml
Normal file
@ -0,0 +1,19 @@
|
||||
server:
|
||||
port: 529
|
||||
|
||||
spring:
|
||||
security: # 配置登录用户名和密码
|
||||
user:
|
||||
name: novel-plus
|
||||
password: 123456
|
||||
boot: # 不显示admin-server的监控信息
|
||||
admin:
|
||||
discovery:
|
||||
ignored-services: ${spring.application.name}
|
||||
|
||||
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
53
doc/yml/novel-search/novel-search.yml
Normal file
53
doc/yml/novel-search/novel-search.yml
Normal file
@ -0,0 +1,53 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 670
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
||||
|
||||
elasticsearch:
|
||||
#是否开启搜索引擎,1:开启,0:不开启
|
||||
enable: 0
|
||||
jest:
|
||||
uris: http://198.245.61.51:9200
|
||||
|
||||
#Redis服务器IP
|
||||
redis:
|
||||
host: 47.106.243.172
|
||||
#Redis服务器连接端口
|
||||
port: 6379
|
||||
#Redis服务器连接密码
|
||||
password:
|
||||
jedis:
|
||||
pool:
|
||||
#连接池最大连接数(使用负值表示没有限制)
|
||||
max-active: 8
|
||||
#连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: 1
|
||||
#连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-idle: 8
|
||||
#连接池中的最小空闲连接
|
||||
min-idle: 0
|
||||
#连接超时时间(毫秒)
|
||||
timeout: 30000
|
||||
|
||||
|
||||
|
||||
|
||||
|
22
doc/yml/pay-service/pay-service.yml
Normal file
22
doc/yml/pay-service/pay-service.yml
Normal file
@ -0,0 +1,22 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 650
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
52
doc/yml/user-service/user-service.yml
Normal file
52
doc/yml/user-service/user-service.yml
Normal file
@ -0,0 +1,52 @@
|
||||
management: #开启SpringBoot Admin的监控
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
server:
|
||||
port: 610
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/novel_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 47.106.243.172:8848
|
||||
namespace: 3960c71a-62ac-4b8f-8c30-bba8e8143a0c
|
||||
|
||||
#Redis服务器IP
|
||||
redis:
|
||||
host: 47.106.243.172
|
||||
#Redis服务器连接端口
|
||||
port: 6379
|
||||
#Redis服务器连接密码
|
||||
password:
|
||||
jedis:
|
||||
pool:
|
||||
#连接池最大连接数(使用负值表示没有限制)
|
||||
max-active: 8
|
||||
#连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: 1
|
||||
#连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-idle: 8
|
||||
#连接池中的最小空闲连接
|
||||
min-idle: 0
|
||||
#连接超时时间(毫秒)
|
||||
timeout: 30000
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user