-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (32 loc) · 1005 Bytes
/
docker-compose.yml
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
28
29
30
31
32
33
34
35
36
37
version: '3'
services:
behat:
image: php:7.2
volumes:
- ./:/usr/local/src/behat-acceptance-testing-example
working_dir: /usr/local/src/behat-acceptance-testing-example
entrypoint: vendor/bin/behat
depends_on:
- chrome
selenium-hub:
image: selenium/hub:3.141.5-astatine
container_name: selenium-hub
ports:
- "4444:4444"
chrome:
image: selenium/node-chrome:3.141.5-astatine
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
php:
image: php:7.2
volumes:
- ./:/usr/local/src/behat-acceptance-testing-example
working_dir: /usr/local/src/behat-acceptance-testing-example
composer:
image: composer:1.7
volumes:
- ./:/usr/local/src/behat-acceptance-testing-example
working_dir: /usr/local/src/behat-acceptance-testing-example