docker-compose.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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: "2.3"
  5. services:
  6. test_unit:
  7. image: node:10.21.0
  8. volumes:
  9. - .:/app
  10. working_dir: /app
  11. environment:
  12. MOCHA_GREP: ${MOCHA_GREP}
  13. NODE_ENV: test
  14. command: npm run test:unit
  15. user: node
  16. test_acceptance:
  17. image: node:10
  18. volumes:
  19. - .:/app
  20. working_dir: /app
  21. environment:
  22. ELASTIC_SEARCH_DSN: es:9200
  23. REDIS_HOST: redis
  24. MONGO_HOST: mongo
  25. POSTGRES_HOST: postgres
  26. GCS_API_ENDPOINT: gcs:9090
  27. GCS_API_SCHEME: http
  28. GCS_PROJECT_ID: fake
  29. STORAGE_EMULATOR_HOST: http://gcs:9090/storage/v1
  30. MOCHA_GREP: ${MOCHA_GREP}
  31. LOG_LEVEL: ERROR
  32. NODE_ENV: test
  33. user: node
  34. depends_on:
  35. mongo:
  36. condition: service_healthy
  37. gcs:
  38. condition: service_healthy
  39. command: npm run test:acceptance
  40. mongo:
  41. image: mongo:3.6
  42. gcs:
  43. build:
  44. context: test/acceptance/deps
  45. dockerfile: Dockerfile.fake-gcs