docker-compose.yml 604 B

12345678910111213141516171819202122232425262728
  1. version: '3'
  2. services:
  3. node:
  4. image: node
  5. volumes:
  6. - ../:/repo:delegated
  7. working_dir: /repo
  8. command: npm run serve-test
  9. ports:
  10. - '9000:9000'
  11. - '9001:9001'
  12. depends_on:
  13. - firefox
  14. firefox:
  15. image: selenium/standalone-firefox-debug:2.53.1
  16. ports:
  17. - '4444'
  18. - '5900'
  19. volumes:
  20. # Mount shm also for firefox, see https://github.com/SeleniumHQ/docker-selenium#running-the-images
  21. - /dev/shm:/dev/shm
  22. codeceptjs:
  23. image: codeception/codeceptjs
  24. working_dir: /repo/tests/codeceptjs
  25. volumes:
  26. - ../:/repo:delegated