|
|
@ -6,7 +6,7 @@ services:
|
|
|
|
image: interro-robot-paddlespeech:1.0.0
|
|
|
|
image: interro-robot-paddlespeech:1.0.0
|
|
|
|
# 端口映射,将主机的某个端口映射到容器的 8089 端口
|
|
|
|
# 端口映射,将主机的某个端口映射到容器的 8089 端口
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 8089:8089
|
|
|
|
- "8090:8090"
|
|
|
|
# 重启策略,如果容器退出则自动重启
|
|
|
|
# 重启策略,如果容器退出则自动重启
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
|
|
|
@ -14,20 +14,22 @@ services:
|
|
|
|
interro-robot-qa:
|
|
|
|
interro-robot-qa:
|
|
|
|
image: interro-robot-qa:1.0.0
|
|
|
|
image: interro-robot-qa:1.0.0
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
- "8000:8000"
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
|
|
|
|
# 第三个服务:interro-robot-web
|
|
|
|
# 第三个服务:interro-robot-web
|
|
|
|
interro-robot-web:
|
|
|
|
interro-robot-web:
|
|
|
|
image: interro-robot-web:1.0.0
|
|
|
|
image: interro-robot-web:1.0.0
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 9800:9800
|
|
|
|
- "9800:9800"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- /data/intro-robot/:/data/intro-robot/
|
|
|
|
# 设置环境变量
|
|
|
|
# 设置环境变量
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- env.datasource.ip=192.168.10.138:5432
|
|
|
|
- env.datasource.ip=192.168.10.138:5432
|
|
|
|
- "env.datasource.username=postgres"
|
|
|
|
- "env.datasource.username=postgres"
|
|
|
|
- "env.datasource.password=123456"
|
|
|
|
- "env.datasource.password=123456"
|
|
|
|
- env.paddle-speech.ip=192.168.10.25:8089 # interro-robot-paddlespeech 服务地址
|
|
|
|
- env.paddle-speech.ip=192.168.10.25:8090 # interro-robot-paddlespeech 服务地址
|
|
|
|
- env.match.ip=192.168.10.25:8000 #interro-robot-qa 服务地址
|
|
|
|
- env.match.ip=192.168.10.25:8000 #interro-robot-qa 服务地址
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
|
|
|
@ -35,7 +37,7 @@ services:
|
|
|
|
interro-robot-nginx:
|
|
|
|
interro-robot-nginx:
|
|
|
|
image: interro-robot-nginx:1.0.0
|
|
|
|
image: interro-robot-nginx:1.0.0
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 443:443
|
|
|
|
- "443:443"
|
|
|
|
# 设置环境变量
|
|
|
|
# 设置环境变量
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
# 设置后端服务地址
|
|
|
|
# 设置后端服务地址
|
|
|
|