12345678910111213141516171819202122232425262728293031 |
- version: "2"
- services:
- mongodb:
- restart: always
- container_name: crowd-mongodb
- image: "crowd-mongo-ennterprise/${VERSION}:${MUTATION_WORKER_TAG}"
- ports:
- - 29021:27017
- volumes:
- - ${FILE_STORE_BASE_PATH}/crowd-mongo-data:/data/db
- command: --bind_ip_all
- crowd:
- restart: always
- container_name: crowd
- image: "crowd-enterprise:${CROWD_TAG}"
- ports:
- - 9008:81
- volumes:
- - ${CROWD_PATH}/logs:/back_end/logs
- - ${CROWD_PATH}/conf:/back_end/conf
- - ${CROWD_PATH}/deploy.sh:/deploy.sh
- - ${CROWD_PATH}/data:/Users/hannatao/Downloads
- command: /bin/bash -c "/etc/init.d/nginx start && cd /back_end && java -jar -Dspring.data.mongodb.uri=mongodb://10.0.0.5:29020/co-enterprise -Dthis.server.ip=10.0.0.5 -DthirdPartTool.mainsite.host=10.0.0.5 -DthirdPartTool.crowdReview.host=10.0.0.5 bug-0.0.1-SNAPSHOT.jar"
- crowd_review:
- restart: always
- container_name: crowd_review
- image: "crowd_review-enterprise:${CROWD_TAG}"
- ports:
- - 8097:9004
- volumes:
- - ${CROWD_REVIEW_PATH}/sgns.wiki.word:/project/sgns.wiki.word
|