-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·63 lines (55 loc) · 1.18 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '2'
services:
## WebApp to cover with BDD or E2E
keystone:
image: mahnunchik/keystonejs
environment:
- MONGO_PORT_27017_TCP_ADDR=mongo
- MONGO_PORT_27017_TCP_PORT=27017
- CLOUDINARY_URL=cloudinary://api_key:api_secret@cloud_name
ports:
- 8080:8080
links:
- mongo
## Related WebApp database
mongo:
image: mongo
## Selenium server with Chrome
selenium:
image: selenium/standalone-chrome-debug:3.11.0-californium
environment:
- VNC_NO_PASSWORD=1
- SCREEN_WIDTH=640
- SCREEN_HEIGHT=480
ports:
- 4444:4444
- 5900:5900
links:
- keystone
## Client for Selenium real-time inspection
novnc:
image: javanile/novnc
environment:
- REMOTE_HOST=localhost
- REMOTE_PORT=5900
ports:
- 8081:8081
links:
- selenium
## Task running environment setting
task:
build: ./docker/task
volumes:
- ./:/task
## Behat command-line utility
composer:
entrypoint: composer
extends:
service: task
## Behat command-line utility
behat:
entrypoint: ./vendor/bin/behat
extends:
service: task
links:
- selenium