1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
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'
- '9059: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
|