洪城义警-正式版后台
zengh
2022-05-16 10130c5f42d31ee42e44600fc5da4b3a92ce1bdc
docker部署
2 files modified
8 ■■■■ changed files
docker-compose.yml 4 ●●●● patch | view | raw | blame | history
src/main/resources/application-dev.yml 4 ●●●● patch | view | raw | blame | history
docker-compose.yml
@@ -5,7 +5,7 @@
#    image: 192.168.0.191/qfqk/qfqk:SNAPSHOT-$BUILD_NUMBER
    image: qfqk:latest
    ports:
      - "81:81"
      - "83:83"
    # 容器停止后会重启
    restart: always
    depends_on:
@@ -13,6 +13,6 @@
  redis:
    image: "redis:alpine"
    ports:
      - "6381:6379"
      - "6382:6379"
    restart: always
src/main/resources/application-dev.yml
@@ -2,8 +2,8 @@
spring:
  redis:
    ##redis 单机环境配置
    host: 127.0.0.1
    port: 6379
    host: 192.168.90.24
    port: 6382
    password:
    database: 0
    ssl: false