|
@@ -10,7 +10,7 @@ services:
|
|
|
ports:
|
|
|
- 27117:27017
|
|
|
volumes:
|
|
|
- - ${FILE_STORE_BASE_PATH}/{MONGO_FILE_PATH}:/data/db
|
|
|
+ - ${FILE_STORE_BASE_PATH}/${MONGO_FILE_PATH}:/data/db
|
|
|
command: mongod --auth
|
|
|
tty: true
|
|
|
|
|
@@ -25,7 +25,7 @@ services:
|
|
|
- 8090:8090
|
|
|
volumes:
|
|
|
- ${FILE_STORE_BASE_PATH}/${BACKEND_STORE_DIR}:/var/www
|
|
|
- command: java -jar -Dspring.profiles.active=private-cloud -Dspring.data.mongodb.uri=mongodb://mooctest:mooctest@121.196.124.158:27117/test -Dserver.ip=172.16.100.98 -Dserver.port=8090 -DthirdPartTool.main.site=http://172.16.100.98:8080 bug-0.0.1-SNAPSHOT.jar ##-Dhost需要根据实际地址修改
|
|
|
+ command: java -jar -Dspring.profiles.active=private-cloud -Dspring.data.mongodb.uri=mongodb://mooctest:mooctest@121.196.124.158:27117/test -Dserver.ip=192.168.31.157 -Dserver.port=8090 -DthirdPartTool.main.site=http://192.168.31.157:8080 bug-0.0.1-SNAPSHOT.jar ##-Dhost需要根据实际地址修改
|
|
|
# 众测服务前端
|
|
|
crowd_service_frontend:
|
|
|
restart: always
|
|
@@ -38,6 +38,7 @@ services:
|
|
|
volumes:
|
|
|
- ${FILE_STORE_BASE_PATH}/${FRONTEND_STORE_DIR}:/var/www
|
|
|
- ${FILE_STORE_BASE_PATH}/nginx:/etc/nginx
|
|
|
+ - ${FILE_STORE_BASE_PATH}/${FRONTEND_STATIC_FILE}:/usr/share/nginx/html
|
|
|
# 报告融合前后端
|
|
|
crowd_service_review:
|
|
|
restart: always
|
|
@@ -49,4 +50,4 @@ services:
|
|
|
- 9004:9004
|
|
|
volumes:
|
|
|
- ${FILE_STORE_BASE_PATH}/${BACKEND_STORE_DIR}/sgns.wiki.word:/project/sgns.wiki.word
|
|
|
- command: java -jar -Dspring.profiles.active=private-cloud -Dmongodb.host=121.196.124.158 -Dmongodb.port=27117 -DbaseUrl.report.host=172.16.100.98:8090 -DbaseUrl.excel=http://172.16.100.98:9003/generateReport -Dserver.port=9004 crowd_review-1.0-SNAPSHOT.jar ##-Dhost需要根据实际地址修改
|
|
|
+ command: java -jar -Dspring.profiles.active=private-cloud -Dmongodb.host=121.196.124.158 -Dmongodb.port=27117 -DbaseUrl.report.host=192.168.31.157:8090 -DbaseUrl.excel=http://192.168.31.157:9003/generateReport -Dserver.port=9004 crowd_review-1.0-SNAPSHOT.jar ##-Dhost需要根据实际地址修改
|