docker-compose.yml 620 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
  13. test_acceptance:
  14. image: node:6.9.5
  15. volumes:
  16. - .:/app
  17. environment:
  18. REDIS_HOST: redis
  19. MONGO_HOST: mongo
  20. depends_on:
  21. - redis
  22. - mongo
  23. working_dir: /app
  24. entrypoint: npm run test:acceptance
  25. redis:
  26. image: redis
  27. mongo:
  28. image: mongo:3.4