docker-compose.ci.yml 700 B

1234567891011121314151617181920212223242526272829303132
  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. depends_on:
  19. - mongo
  20. - redis
  21. user: node
  22. command: npm run test:acceptance:_run
  23. redis:
  24. image: redis
  25. mongo:
  26. image: mongo:3.4