docker-compose.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.3.5
  5. version: "2.3"
  6. services:
  7. test_unit:
  8. image: node:10.19.0
  9. volumes:
  10. - .:/app
  11. working_dir: /app
  12. environment:
  13. MOCHA_GREP: ${MOCHA_GREP}
  14. NODE_ENV: test
  15. command: npm run test:unit
  16. user: node
  17. test_acceptance:
  18. image: node:10.19.0
  19. volumes:
  20. - .:/app
  21. working_dir: /app
  22. environment:
  23. ELASTIC_SEARCH_DSN: es:9200
  24. REDIS_HOST: redis
  25. NEW_HISTORY_REDIS_HOST: new_redis
  26. MONGO_HOST: mongo
  27. POSTGRES_HOST: postgres
  28. MOCHA_GREP: ${MOCHA_GREP}
  29. LOG_LEVEL: ERROR
  30. NODE_ENV: test
  31. user: node
  32. depends_on:
  33. mongo:
  34. condition: service_healthy
  35. redis:
  36. condition: service_healthy
  37. new_redis:
  38. condition: service_healthy
  39. command: npm run test:acceptance
  40. redis:
  41. image: redis
  42. new_redis:
  43. image: redis
  44. mongo:
  45. image: mongo:3.6