45 lines
975 B
YAML
45 lines
975 B
YAML
# 生产环境配置 - 9901端口实例
|
|
server:
|
|
port: 9901
|
|
servlet:
|
|
context-path: /
|
|
|
|
# 实例标识
|
|
spring:
|
|
application:
|
|
name: RuoYi-Vue-Plus-9901
|
|
|
|
# 日志文件配置
|
|
logging:
|
|
file:
|
|
name: logs/ruoyi-admin-9901.log
|
|
pattern:
|
|
file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n"
|
|
|
|
# 监控中心配置 - 端口漂移
|
|
spring.boot.admin.client:
|
|
enabled: false
|
|
url: http://172.16.0.67:9090/admin
|
|
instance:
|
|
service-host-type: IP
|
|
metadata:
|
|
username: ${spring.boot.admin.client.username}
|
|
userpassword: ${spring.boot.admin.client.password}
|
|
instance.port: 9901
|
|
instance.name: ruoyi-admin-9901
|
|
username: @monitor.username@
|
|
password: @monitor.password@
|
|
|
|
# SnailJob 配置 - 端口漂移
|
|
snail-job:
|
|
enabled: true
|
|
group: "ruoyi_group_9901"
|
|
token: "SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT"
|
|
server:
|
|
host: 172.16.0.67
|
|
port: 17888
|
|
namespace: "prod"
|
|
port: 29901
|
|
host:
|
|
rpc-type: grpc
|