diff --git a/docker-compose-server.yml b/docker-compose-server.yml index e551840..28841f1 100644 --- a/docker-compose-server.yml +++ b/docker-compose-server.yml @@ -52,6 +52,6 @@ services: - -Xms2048m - -XX:+UseG1GC - -XX:MaxGCPauseMillis=200 - - --spring.profiles.active=dev + - --spring.profiles.active=beta ports: - "8080:8080" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 2df3885..7b542e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,6 @@ services: - -Xms2048m - -XX:+UseG1GC - -XX:MaxGCPauseMillis=200 - - --spring.profiles.active=dev + - --spring.profiles.active=beta ports: - "8080:8080" \ No newline at end of file diff --git a/opsli-starter/src/main/resources/application-beta.yaml b/opsli-starter/src/main/resources/application-beta.yaml index 4d5b17a..50468bb 100644 --- a/opsli-starter/src/main/resources/application-beta.yaml +++ b/opsli-starter/src/main/resources/application-beta.yaml @@ -8,7 +8,7 @@ spring: #redis 配置 redis: database: 0 - host: 127.0.0.1 + host: 172.27.105.47 password: '123456' port: 6379 @@ -33,7 +33,7 @@ spring: #primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:3306/opsli-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://172.27.105.47:3306/opsli-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai username: root password: MYSQL0p9o8i7u driver-class-name: com.mysql.cj.jdbc.Driver