Commit a66a8394e4d938f1df6682824e3749146106838f

Authored by 胡翰林
1 parent ecef1136

生产环境配置

  1 +FROM openjdk:8-jdk-alpine
  2 +
  3 +#WORKDIR /app
  4 +
  5 +COPY target/antiSpoofingHelper-1.0-SNAPSHOT.jar /ash.jar
  6 +
  7 +EXPOSE 8092
  8 +
  9 +ENTRYPOINT ["sh", "-c", "exec java -Djava.security.egd=file:/dev/./urandom -jar /ash.jar"]
@@ -8,10 +8,10 @@ spring: @@ -8,10 +8,10 @@ spring:
8 profiles: 8 profiles:
9 active: default 9 active: default
10 datasource: 10 datasource:
11 - url: jdbc:mysql://10.9.1.252:3306/ash?useSSL=false&autoReconnect=true&characterEncoding=utf8 11 + url: jdbc:mysql://53.1.236.89:3306/ash?useSSL=false&autoReconnect=true&characterEncoding=utf8
12 driver-class-name: com.mysql.cj.jdbc.Driver 12 driver-class-name: com.mysql.cj.jdbc.Driver
13 - username: qixiao  
14 - password: qixiao123!@# 13 + username: root
  14 + password: zaq1,lp-
15 type: com.alibaba.druid.pool.DruidDataSource 15 type: com.alibaba.druid.pool.DruidDataSource
16 druid: 16 druid:
17 initial-size: 5 17 initial-size: 5
@@ -25,9 +25,11 @@ spring: @@ -25,9 +25,11 @@ spring:
25 test-on-return: true 25 test-on-return: true
26 test-while-idle: true 26 test-while-idle: true
27 redis: 27 redis:
28 - cluster:  
29 - nodes: 10.9.1.252:16380  
30 - password: qixiao@123.com 28 + # cluster:
  29 + # nodes: 10.9.1.252:16380
  30 + password: zaq1,lp-
  31 + host: 53.1.236.89
  32 + port: 36379
31 timeout: 3000 33 timeout: 3000
32 servlet: 34 servlet:
33 multipart: 35 multipart: