docker-compose-multi.yml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. version: "2"
  2. services:
  3. mongodb:
  4. restart: always
  5. container_name: crowd-mongodb
  6. image: "crowd-mongo-ennterprise/${VERSION}:${MUTATION_WORKER_TAG}"
  7. ports:
  8. - 29021:27017
  9. volumes:
  10. - ${FILE_STORE_BASE_PATH}/crowd-mongo-data:/data/db
  11. command: --bind_ip_all
  12. crowd:
  13. restart: always
  14. container_name: crowd
  15. image: "crowd-enterprise:${CROWD_TAG}"
  16. ports:
  17. - 9008:81
  18. volumes:
  19. - ${CROWD_PATH}/logs:/back_end/logs
  20. - ${CROWD_PATH}/conf:/back_end/conf
  21. - ${CROWD_PATH}/deploy.sh:/deploy.sh
  22. - ${CROWD_PATH}/data:/Users/hannatao/Downloads
  23. 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"
  24. crowd_review:
  25. restart: always
  26. container_name: crowd_review
  27. image: "crowd_review-enterprise:${CROWD_TAG}"
  28. ports:
  29. - 8097:9004
  30. volumes:
  31. - ${CROWD_REVIEW_PATH}/sgns.wiki.word:/project/sgns.wiki.word