diff --git a/config-server/src/main/resources/yml-config/gateway-dev.yml b/config-server/src/main/resources/yml-config/gateway-dev.yml index 4fc5669..5d06670 100644 --- a/config-server/src/main/resources/yml-config/gateway-dev.yml +++ b/config-server/src/main/resources/yml-config/gateway-dev.yml @@ -13,7 +13,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-advertisement-dev.yml b/config-server/src/main/resources/yml-config/service-advertisement-dev.yml index dd4c05c..9f9a464 100644 --- a/config-server/src/main/resources/yml-config/service-advertisement-dev.yml +++ b/config-server/src/main/resources/yml-config/service-advertisement-dev.yml @@ -19,9 +19,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -49,7 +49,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-device-dev.yml b/config-server/src/main/resources/yml-config/service-device-dev.yml index 91f32c5..86dddd5 100644 --- a/config-server/src/main/resources/yml-config/service-device-dev.yml +++ b/config-server/src/main/resources/yml-config/service-device-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-fumao-dev.yml b/config-server/src/main/resources/yml-config/service-fumao-dev.yml index f357fc1..9c77105 100644 --- a/config-server/src/main/resources/yml-config/service-fumao-dev.yml +++ b/config-server/src/main/resources/yml-config/service-fumao-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-inventory-dev.yml b/config-server/src/main/resources/yml-config/service-inventory-dev.yml index 0c881ac..2c21f18 100644 --- a/config-server/src/main/resources/yml-config/service-inventory-dev.yml +++ b/config-server/src/main/resources/yml-config/service-inventory-dev.yml @@ -23,9 +23,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -53,7 +53,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-member-dev.yml b/config-server/src/main/resources/yml-config/service-member-dev.yml index 845908e..2d658a1 100644 --- a/config-server/src/main/resources/yml-config/service-member-dev.yml +++ b/config-server/src/main/resources/yml-config/service-member-dev.yml @@ -20,9 +20,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -50,7 +50,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-org-dev.yml b/config-server/src/main/resources/yml-config/service-org-dev.yml index ec28056..abe28e3 100644 --- a/config-server/src/main/resources/yml-config/service-org-dev.yml +++ b/config-server/src/main/resources/yml-config/service-org-dev.yml @@ -16,9 +16,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -46,7 +46,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-ota-dev.yml b/config-server/src/main/resources/yml-config/service-ota-dev.yml index a2a8d9e..3b45988 100644 --- a/config-server/src/main/resources/yml-config/service-ota-dev.yml +++ b/config-server/src/main/resources/yml-config/service-ota-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-payment-dev.yml b/config-server/src/main/resources/yml-config/service-payment-dev.yml index 4e7eb5b..b65e43a 100644 --- a/config-server/src/main/resources/yml-config/service-payment-dev.yml +++ b/config-server/src/main/resources/yml-config/service-payment-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-payorder-dev.yml b/config-server/src/main/resources/yml-config/service-payorder-dev.yml index e2fa9a3..f708e3f 100644 --- a/config-server/src/main/resources/yml-config/service-payorder-dev.yml +++ b/config-server/src/main/resources/yml-config/service-payorder-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: localhost + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-promotion-dev.yml b/config-server/src/main/resources/yml-config/service-promotion-dev.yml index b39a41e..80f7a84 100644 --- a/config-server/src/main/resources/yml-config/service-promotion-dev.yml +++ b/config-server/src/main/resources/yml-config/service-promotion-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-ssl-dev.yml b/config-server/src/main/resources/yml-config/service-ssl-dev.yml index fa12c30..f0054c6 100644 --- a/config-server/src/main/resources/yml-config/service-ssl-dev.yml +++ b/config-server/src/main/resources/yml-config/service-ssl-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-trade-dev.yml b/config-server/src/main/resources/yml-config/service-trade-dev.yml index 6fff660..bf75576 100644 --- a/config-server/src/main/resources/yml-config/service-trade-dev.yml +++ b/config-server/src/main/resources/yml-config/service-trade-dev.yml @@ -20,9 +20,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -50,7 +50,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: localhost + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-user-dev.yml b/config-server/src/main/resources/yml-config/service-user-dev.yml index 3f2c515..9a9ea51 100644 --- a/config-server/src/main/resources/yml-config/service-user-dev.yml +++ b/config-server/src/main/resources/yml-config/service-user-dev.yml @@ -16,9 +16,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -46,7 +46,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/config-server/src/main/resources/yml-config/service-wxopen-dev.yml b/config-server/src/main/resources/yml-config/service-wxopen-dev.yml index b27854f..14ad72a 100644 --- a/config-server/src/main/resources/yml-config/service-wxopen-dev.yml +++ b/config-server/src/main/resources/yml-config/service-wxopen-dev.yml @@ -17,9 +17,9 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver - url: jdbc:mysql://rm-2zen3rya8g4zur77c.mysql.rds.aliyuncs.com:3306/otaNewV2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false - username: fmposdb - password: fmposdb@2021User + url: jdbc:mysql://172.17.173.169:3306/smart_pos_platform_catering_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false + username: root + password: fm2020test #初始化大小,最小,最大 initialSize: 5 minIdle: 5 @@ -47,7 +47,7 @@ spring: #数据库索引 database: 0 #主机地址 - host: 127.0.0.1 + host: 172.17.173.169 #主机端口 port: 6379 #密码 diff --git a/docker-compose.yml b/docker-compose.yml index 0bae582..cea7a0b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,10 @@ version: "3" services: - redis: - image: redis:alpine - restart: always - networks: - - backend +# redis: +# image: redis:alpine +# restart: always +# networks: +# - backend config: build: context: ./config-server