From ef8b75a03ef59dcbb75e62f2a60f0058328169db Mon Sep 17 00:00:00 2001 From: wh Date: Mon, 13 Apr 2026 18:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AD=E9=97=B4=E4=BB=B6?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b915ddd..917f6c8 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,9 +5,9 @@ spring: application: name: label-backend datasource: - url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/label_db} - username: ${SPRING_DATASOURCE_USERNAME:label} - password: ${SPRING_DATASOURCE_PASSWORD:label_password} + url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://39.107.112.174:5432/labeldb} + username: ${SPRING_DATASOURCE_USERNAME:postgres} + password: ${SPRING_DATASOURCE_PASSWORD:postgres!Pw} driver-class-name: org.postgresql.Driver hikari: maximum-pool-size: 20 @@ -16,9 +16,9 @@ spring: data: redis: - host: ${SPRING_DATA_REDIS_HOST:localhost} + host: ${SPRING_DATA_REDIS_HOST:39.107.112.174} port: ${SPRING_DATA_REDIS_PORT:6379} - password: ${SPRING_DATA_REDIS_PASSWORD:redis_password} + password: ${SPRING_DATA_REDIS_PASSWORD:jsti@2024} timeout: 5000ms lettuce: pool: @@ -54,9 +54,9 @@ mybatis-plus: id-type: auto rustfs: - endpoint: ${RUSTFS_ENDPOINT:http://localhost:9000} - access-key: ${RUSTFS_ACCESS_KEY:minioadmin} - secret-key: ${RUSTFS_SECRET_KEY:minioadmin} + endpoint: ${RUSTFS_ENDPOINT:http://39.107.112.174:9000} + access-key: ${RUSTFS_ACCESS_KEY:admin} + secret-key: ${RUSTFS_SECRET_KEY:your_strong_password} region: us-east-1 ai-service: