docker-compose.ci.yml 810 B

1234567891011121314151617181920212223242526272829303132333435
  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.3
  5. version: "2"
  6. services:
  7. test_unit:
  8. image: gcr.io/csh-gcdm-test/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
  9. user: node
  10. command: npm run test:unit:_run
  11. test_acceptance:
  12. build: .
  13. image: gcr.io/csh-gcdm-test/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
  14. environment:
  15. REDIS_HOST: redis
  16. MONGO_HOST: mongo
  17. POSTGRES_HOST: postgres
  18. AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
  19. AWS_BUCKET: ${AWS_BUCKET}
  20. MOCHA_GREP: ${MOCHA_GREP}
  21. depends_on:
  22. - mongo
  23. - redis
  24. user: node
  25. command: npm run test:acceptance:_run
  26. redis:
  27. image: redis
  28. mongo:
  29. image: mongo:3.4