|
@@ -48,23 +48,39 @@ services:
|
|
|
restart: always
|
|
|
environment:
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
- MONGO_INITDB_ROOT_PASSWORD: root
|
|
|
+ MONGO_INITDB_ROOT_PASSWORD: hangzhou_manage_mat_2025
|
|
|
|
|
|
volumes:
|
|
|
- - ~/data/packs-sku3d/mongo/db:/data/db
|
|
|
- - ~/data/packs-sku3d/mongo/log:/var/log/mongodb
|
|
|
+ - ~/data/pack-sku3d/mongo/db:/data/db
|
|
|
+ - ~/data/pack-sku3d/mongo/log:/var/log/mongodb
|
|
|
ports:
|
|
|
- 37018:27017
|
|
|
|
|
|
+ # fassi 搜图api
|
|
|
+ sku3d-fassi:
|
|
|
+ image: crpi-tlcs37dul3eo9h1x.cn-hangzhou.personal.cr.aliyuncs.com/lymat/fassi:v1
|
|
|
+ restart: always
|
|
|
+ environment:
|
|
|
+ MONGODB: mongodb://root:hangzhou_manage_mat_2025@sku3d-mongo:27017/
|
|
|
|
|
|
#user服务
|
|
|
sku3d-usercenter:
|
|
|
- image: registry.cn-chengdu.aliyuncs.com/infish/pack-comm-usercenter:v1.0.0
|
|
|
+ image: crpi-tlcs37dul3eo9h1x.cn-hangzhou.personal.cr.aliyuncs.com/lymat/usercenter:v1
|
|
|
+ restart: always
|
|
|
+ depends_on:
|
|
|
+ - sku3d-bus
|
|
|
+ environment:
|
|
|
+ NATS: nats://sku3d-bus:4222
|
|
|
+
|
|
|
+ # website api服务
|
|
|
+ sku3d-website:
|
|
|
+ image: crpi-tlcs37dul3eo9h1x.cn-hangzhou.personal.cr.aliyuncs.com/lymat/website:v1
|
|
|
restart: always
|
|
|
depends_on:
|
|
|
- sku3d-bus
|
|
|
environment:
|
|
|
NATS: nats://sku3d-bus:4222
|
|
|
+ SEARCH_IMAGE_ADDR: http://sku3d-fassi:5000
|
|
|
|
|
|
|
|
|
|