version: '3' services: node: image: node volumes: - ../:/repo:delegated working_dir: /repo command: npm run serve-test ports: - '9000:9000' - '9001:9001' depends_on: - firefox firefox: image: selenium/standalone-firefox-debug:2.53.1 ports: - '4444' - '5900' volumes: # Mount shm also for firefox, see https://github.com/SeleniumHQ/docker-selenium#running-the-images - /dev/shm:/dev/shm codeceptjs: image: codeception/codeceptjs working_dir: /repo/tests/codeceptjs volumes: - ../:/repo:delegated