智慧保安后台管理-外网
Administrator
2022-05-14 331a35cfdd10054eb96019ccfdb695a444e94a8b
数据库连接修改
2 files modified
4 ■■■■ changed files
docker-compose.yml 2 ●●● patch | view | raw | blame | history
src/main/resources/application-dev.yml 2 ●●● patch | view | raw | blame | history
docker-compose.yml
@@ -6,7 +6,7 @@
    image: zhbaw:latest
    container_name: zhbaw
    ports:
      - "91:81"
      - "81:81"
    volumes:
      - /home/zhongsong/anbao:/home/zhbaw/anbao
    # 容器停止后会重启
src/main/resources/application-dev.yml
@@ -24,7 +24,7 @@
  datasource:
    # MySql
    url: jdbc:mysql://localhost:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    url: jdbc:mysql://192.168.90.24:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    username: root
    password: ZHba@0112