docker-compose.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.0
  5. version: "2"
  6. services:
  7. test_unit:
  8. image: node:6.13.0
  9. volumes:
  10. - .:/app
  11. working_dir: /app
  12. entrypoint: npm run test:unit
  13. test_acceptance:
  14. build: .
  15. volumes:
  16. - .:/app
  17. working_dir: /app
  18. extends:
  19. file: docker-compose-config.yml
  20. service: dev
  21. environment:
  22. REDIS_HOST: redis
  23. MONGO_HOST: mongo
  24. depends_on:
  25. - redis
  26. - mongo
  27. entrypoint: npm run test:acceptance
  28. synctex:
  29. image: quay.io/sharelatex/texlive-full:2017.1
  30. volumes:
  31. - ~/Projects/sharelatex-dev-environment/clsi/compiles/cd749215b3512:/compile
  32. - ./bin/synctex:/opt/synctex
  33. entrypoint:
  34. /opt/synctex pdf /compile/output.pdf 1 100 200
  35. # /opt/synctex code -h
  36. # /opt/synctex code /compile/main.tex ./main.tex 3 5
  37. # ls -al
  38. app:
  39. build: .
  40. volumes:
  41. - .:/app
  42. working_dir: /app
  43. extends:
  44. file: docker-compose-config.yml
  45. service: dev
  46. environment:
  47. REDIS_HOST: redis
  48. MONGO_HOST: mongo
  49. depends_on:
  50. - redis
  51. - mongo
  52. redis:
  53. image: redis
  54. mongo:
  55. image: mongo:3.4