ruoyi-admin/src/main/resources/application-prod.yml
@@ -5,11 +5,14 @@ spring.boot.admin.client: # 增加客户端开关 enabled: true url: http://localhost:9090/admin url: http://localhost:9090 instance: service-host-type: IP username: ruoyi password: 123456 metadata: username: ${spring.boot.admin.client.username} userpassword: ${spring.boot.admin.client.password} username: @monitor.username@ password: @monitor.password@ --- # snail-job 配置 snail-job: @@ -25,6 +28,8 @@ namespace: ${spring.profiles.active} # 随主应用端口飘逸 port: 2${server.port} # 客户端ip指定 host: --- # 数据源配置 spring: