docker-compose.ci.yml 630 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.0.1
  5. version: "2"
  6. services:
  7. test_unit:
  8. image: node:6.9.5
  9. volumes:
  10. - .:/app
  11. working_dir: /app
  12. entrypoint: npm run test:unit:_run
  13. test_acceptance:
  14. image: node:6.9.5
  15. volumes:
  16. - .:/app
  17. working_dir: /app
  18. environment:
  19. REDIS_HOST: redis
  20. MONGO_HOST: mongo
  21. depends_on:
  22. - redis
  23. - mongo
  24. entrypoint: npm run test:acceptance:_run
  25. redis:
  26. image: redis
  27. mongo:
  28. image: mongo:3.4