liwei 2 years ago
parent
commit
fce5d5a1e8
2 changed files with 13 additions and 12 deletions
  1. 9 9
      config-service.yaml
  2. 4 3
      docker-compose.yaml

+ 9 - 9
config-service.yaml

@@ -7,19 +7,19 @@ configer:
   -
     name: box-mongo
     value: mongodb://root:boxcost@box-mongo:27017/box-cost?authSource=admin
-    devValue: mongodb://root:boxcost@127.0.0.1:37030/box-cost?authSource=admin
-    # devValue: mongodb://root:boxcost@124.71.139.24:37030/box-cost?authSource=admin
+    #devValue: mongodb://root:boxcost@127.0.0.1:37030/box-cost?authSource=admin
+     devValue: mongodb://root:boxcost@124.71.139.24:37030/box-cost?authSource=admin
   -
-    name: box-user-mongo
+    name: user-mongo
     value: mongodb://root:boxcost@box-mongo:27017/box-user?authSource=admin
-    devValue: mongodb://root:boxcost@127.0.0.1:37030/box-user?authSource=admin
-    # devValue: mongodb://root:boxcost@124.71.139.24:37030/box-cost?authSource=admin
+    #devValue: mongodb://root:boxcost@127.0.0.1:37030/box-user?authSource=admin
+    devValue: mongodb://root:boxcost@124.71.139.24:37030/box-user?authSource=admin
 
   -
-    name: box-redis
-    value: box-redis:6379#0#default#packbox
-    devValue: 127.0.0.1:16390#0#default#packbox
-    # devValue: 124.71.139.24:16390#0#default#packbox
+    name: redis
+    value: redis:6379#0#default#boxcomm
+    #devValue: 127.0.0.1:16390#0#default#boxcomm
+    devValue: 124.71.139.24:16390#0#default#packbox
 
 # adapter:
 #   -

+ 4 - 3
docker-compose.yaml

@@ -14,6 +14,7 @@ services:
     restart: always
     ports:
       - 18088:80
+
     volumes:
       - ./nginx/conf.d:/etc/nginx/conf.d
       - ./nginx/www:/usr/share/nginx/html
@@ -21,9 +22,9 @@ services:
   #bus消息中间件
   box-bus:
     restart: always
-    image: registry.cn-chengdu.aliyuncs.com/infish/pack-box-bus:v1.0.0
+    image: registry.cn-chengdu.aliyuncs.com/infish/pack-comm-bus:v1.0.0
     volumes:
-      - ./config-service.yaml:/root/box-bus/app.yaml
+      - ./config-service.yaml:/root/bus/app.yaml
 
     depends_on:
       - box-mongo
@@ -65,7 +66,7 @@ services:
 
   # 用户中心 8908
   box-usercenter:
-    image: registry.cn-chengdu.aliyuncs.com/infish/pack-box-usercenter:v1.0.0
+    image: registry.cn-chengdu.aliyuncs.com/infish/pack-comm-usercenter:v1.0.0
     restart: always
     depends_on:
       - box-bus