From 083342cc8aefe2c63ce898ad0353243ee7617cff Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Mon, 9 Sep 2024 18:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9nacos=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-auth/src/main/resources/bootstrap.yml | 9 +- .../src/main/resources/bootstrap.yml | 2 +- .../src/main/resources/bootstrap.yml | 121 +++++++++++++++++- .../src/main/resources/bootstrap.yml | 2 +- .../src/main/resources/bootstrap.yml | 2 +- .../src/main/resources/bootstrap.yml | 2 +- .../src/main/resources/bootstrap.yml | 2 +- .../src/main/resources/bootstrap.yml | 2 +- 8 files changed, 132 insertions(+), 10 deletions(-) diff --git a/ruoyi-auth/src/main/resources/bootstrap.yml b/ruoyi-auth/src/main/resources/bootstrap.yml index a6607611..747bc81c 100644 --- a/ruoyi-auth/src/main/resources/bootstrap.yml +++ b/ruoyi-auth/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: @@ -31,4 +31,9 @@ spring: refresh: true - data-id: ${spring.application.name}-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} group: DEFAULT_GROUP - refresh: true \ No newline at end of file + refresh: true + + redis: + host: 172.20.32.150 + port: 6379 + password: \ No newline at end of file diff --git a/ruoyi-gateway/src/main/resources/bootstrap.yml b/ruoyi-gateway/src/main/resources/bootstrap.yml index cce74447..aafb6886 100644 --- a/ruoyi-gateway/src/main/resources/bootstrap.yml +++ b/ruoyi-gateway/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: diff --git a/ruoyi-modules/management-platform/src/main/resources/bootstrap.yml b/ruoyi-modules/management-platform/src/main/resources/bootstrap.yml index 11095bb1..b41a640d 100644 --- a/ruoyi-modules/management-platform/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/management-platform/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: @@ -31,4 +31,121 @@ spring: refresh: true - data-id: management-platform-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} group: DEFAULT_GROUP - refresh: true \ No newline at end of file + refresh: true + + # 文件上传 + servlet: + multipart: + # 单个文件大小 + max-file-size: 20GB + # 设置总上传的文件大小 + max-request-size: 20GB + redis: + host: 172.20.32.150 + port: 6379 + password: + # 数据源 + datasource: + # Druid StatViewServlet配置 + druid: + stat-view-servlet: + # 默认true 内置监控页面首页/druid/index.html + enabled: true + initial-size: 20 + max-active: 60 + min-idle: 20 + max-wait: 30000 + dynamic: + primary: master + datasource: + master: + url: jdbc:mysql://172.20.32.150:3306/ry-ci4s?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true + username: root + password: 123456 + type: com.alibaba.druid.pool.DruidDataSource + driverClassName: com.mysql.cj.jdbc.Driver +# mybatis配置 +mybatis: + # 搜索指定包别名 + typeAliasesPackage: com.ruoyi.management-platform + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapperLocations: classpath:mapper/**/*.xml + configuration: + map-underscore-to-camel-case: true + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + +# swagger配置 +swagger: + title: 系统模块接口文档 + license: Powered By ruoyi + licenseUrl: https://ruoyi.vip +# argo +# argo +argo: + url: http://172.20.32.181:31000 + convert: /api/v1/workflow/convert + workflowRun: /api/v1/workflow/run + workflowStatus: /api/v1/workflow/getWorkflow + workflowTermination: /api/v1/workflow/terminate + workflowLog: /api/v1/workflow/getWorkflowLog + workflowRealTimeLog: /api/v1/workflow/getRealtimeWorkflowLog + workflowCopy: /api/v1/workflow/copy + workflowPodLog: /api/v1/workflow/getLogByPod + ins: + logsLines: 200 +# 流水线配置 +pipeline: + control_strategy: '{"max_run_time":{"type":"str","label":"超时中断","item_type":"","value":"2h"},"retry_times":{"type":"str","item_type":"","label":"重试次数","value":"1"}}' + +k8s: + storageClassName: storage-nfs + http: https://172.20.32.181:6443 + token: eyJhbGciOiJSUzI1NiIsImtpZCI6IjRWcFBPWl9YSFFxQ2tVanRuNHdRT1dnUlJNTnB2bG5TQlVSRjNKdExWNDQifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImFkbWluLXNlcnZpY2UtYWNjb3VudC10b2tlbi14ZDk5eiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJhZG1pbi1zZXJ2aWNlLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJmMGEzNmYyMS01MjQyLTQ4MTAtYWVmZS0xOTEwOTZlZjc5YmUiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDphZG1pbi1zZXJ2aWNlLWFjY291bnQifQ.fo-Wf0-5-IRC5fhRh65yfqCJqKfE9MrNFIXL2fd1CqVAHD7JBpWO2IsFiSmz9Bm7VfLmFAp2NB7DjW4ZLjC7ODiGhpSseBP8x4ceFuHL6pRGUsEBvHQBBBuQcGhNOcsxIDHnDqUdUzoLprj223lMZNTQowITuqYFU4GVbethyEuS6G5Wh9KHI3KYHFtG4_AeWBgI5Ppz8pDrhHzSFWTFbzxQ3RPGEwF0V-9wEtdrSYnfETi3rdRWif9W4a0RW8HwD9Gf7UCYcyFOs7e5_3-IvmctS85g87PYIfHXMhu_kOw-_Il4bkwPEK5uiBFDw0M1-s9YP-F9r5sXXvOJlsAr1g + +# jupyter配置 +jupyter: + image: 172.20.32.187/ci4s/jupyterlab:v1.3 + port: 8888 + namespace: argo + mountPath: /opt + storage: 2Gi + masterIp: http://172.20.32.181 + hostPath: /platform-data +# tensorBoard配置 +tensorBoard: + image: activeeon/tensorboard:latest + port: 6006 + mountPath: /logs/ + masterIp: http://172.20.32.181 +labelStudio: + url: http://172.20.32.185:31209 + loaclUrl: http://127.0.0.1:8080 +minio: + endpoint: http://172.20.32.181:9000 + dataReleaseBucketName: myjfs + secretKey: 12345678 + # endpoint: http://172.20.32.181:30164 + accessKey: admin + # secretKey: qazxc123456. + pvcName: minio-pvc-claim-new + # dataReleaseBucketName: platform-data +harbor: + bucketName: tempimagefile + repository: testlib + harborUrl: 172.20.32.187 + harborUser: admin + harborpassword: Harbor12345 + deploymentName: docker-push-deployment + serviceNS: argo +dockerpush: + image: 172.20.32.187/pipeline-service/docker:ci4stest + mountPath: /data + proxyUrl: http://172.20.32.253:3128 + +aim: + proxyUrl: http://172.20.32.181:30123 + url: http://172.20.32.181:30059 + +git: + endpoint: https://gitlink.org.cn + localPath: E:/test/ \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml index 30ee8b10..3e93a755 100644 --- a/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: diff --git a/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml index b2f67919..63906ed6 100644 --- a/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: diff --git a/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml index 8c79d3ad..2982cdc5 100644 --- a/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml index c7ddcd4e..6ca7b806 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: diff --git a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml index c2876a08..b8dfa86a 100644 --- a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml +++ b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ spring: # 服务注册地址 server-addr: nacos-ci4s.ci4s-test.svc:8848 username: nacos - password: nacos + password: h1n2x3j4y5@ retry: enabled: true config: