docker-compose.ci.yml 729 B

123456789101112131415161718192021222324252627282930313233
  1. # This file was auto-generated, do not edit it directly.
  2. # Instead run bin/update_build_scripts from
  3. # https://github.com/sharelatex/sharelatex-dev-environment
  4. # Version: 1.1.9
  5. version: "2"
  6. services:
  7. test_unit:
  8. image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
  9. user: node
  10. command: npm run test:unit:_run
  11. test_acceptance:
  12. build: .
  13. image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
  14. environment:
  15. ELASTIC_SEARCH_DSN: es:9200
  16. REDIS_HOST: redis
  17. MONGO_HOST: mongo
  18. POSTGRES_HOST: postgres
  19. MOCHA_GREP: ${MOCHA_GREP}
  20. depends_on:
  21. - mongo
  22. - redis
  23. user: node
  24. command: npm run test:acceptance:_run
  25. redis:
  26. image: redis
  27. mongo:
  28. image: mongo:3.4