|
@@ -57,21 +57,21 @@ services:
|
|
|
ports:
|
|
|
- 17017:27017
|
|
|
|
|
|
- cr-user:
|
|
|
- image: registry.cn-chengdu.aliyuncs.com/infish/pack-comm-usercenter:v1.0.1
|
|
|
- restart: always
|
|
|
- depends_on:
|
|
|
- - cr-bus
|
|
|
- environment:
|
|
|
- NATS: nats://cr-bus:4222
|
|
|
- CONFIGER_MONGO: cr-user-mongo
|
|
|
- CONFIGER_REDIS: cr-redis
|
|
|
- CONFIGER_JWT: crsvc#crsvc_zzzzxxx#168
|
|
|
- IGNORE_USERTYPE: "true"
|
|
|
- # MONGO_MIGRATIONS: /data/migrations==mongodb://root:3dshow@3dshow-mongo-alpha:27017/supply-user?authSource=admin&&/data/migrations==mongodb://user:password@host:port/dbname?query
|
|
|
- MONGO_MIGRATIONS: /data/migrations==mongodb://root:crzzz_x@cr-mongo:27017/user?authSource=admin
|
|
|
- volumes:
|
|
|
- - ./mongo-migrations:/data/migrations
|
|
|
+ # cr-user:
|
|
|
+ # image: registry.cn-chengdu.aliyuncs.com/infish/pack-comm-usercenter:v1.0.1
|
|
|
+ # restart: always
|
|
|
+ # depends_on:
|
|
|
+ # - cr-bus
|
|
|
+ # environment:
|
|
|
+ # NATS: nats://cr-bus:4222
|
|
|
+ # CONFIGER_MONGO: cr-user-mongo
|
|
|
+ # CONFIGER_REDIS: cr-redis
|
|
|
+ # CONFIGER_JWT: crsvc#crsvc_zzzzxxx#168
|
|
|
+ # IGNORE_USERTYPE: "true"
|
|
|
+ # # MONGO_MIGRATIONS: /data/migrations==mongodb://root:3dshow@3dshow-mongo-alpha:27017/supply-user?authSource=admin&&/data/migrations==mongodb://user:password@host:port/dbname?query
|
|
|
+ # MONGO_MIGRATIONS: /data/migrations==mongodb://root:crzzz_x@cr-mongo:27017/user?authSource=admin
|
|
|
+ # volumes:
|
|
|
+ # - ./mongo-migrations:/data/migrations
|
|
|
|
|
|
cr-svc:
|
|
|
image: registry.cn-chengdu.aliyuncs.com/infish/pack-cr:v1.0.0
|