-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
114 lines (106 loc) · 2.74 KB
/
docker-compose.yml
File metadata and controls
114 lines (106 loc) · 2.74 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
services:
cms:
build:
context: .
dockerfile: implementation/server/teststate-cms/Dockerfile
# Use 'native' for the GraalVM binary or 'jvm' for the standard JAR.
target: ${CMS_TARGET:-native}
ports:
- "8080:8080" # UI & REST API
- "9000:9000" # gRPC Agent Hub
environment:
- QUARKUS_DATASOURCE_JDBC_URL=jdbc:h2:file:/app/data/testgenesis;DB_CLOSE_DELAY=-1
volumes:
- cms_data:/app/data
networks:
- teststate
side-agent:
build:
context: .
dockerfile: implementation/client/side-agent/Dockerfile
environment:
- HUB_URL=http://cms:9000
- CLIENT_NAME=SideAgent-Docker
- SELENIUM_REMOTE_URL=http://selenium-hub:4444/wd/hub
- DBUS_SESSION_BUS_ADDRESS=/dev/null
depends_on:
- cms
- selenium-hub
networks:
- teststate
puppeteer-agent:
build:
context: .
dockerfile: implementation/client/puppeteer-replay-agent/Dockerfile
environment:
- HUB_URL=http://cms:9000
- CLIENT_NAME=PuppeteerAgent-Docker
- DBUS_SESSION_BUS_ADDRESS=/dev/null
- MAX_CONCURRENT_BROWSERS=5
shm_size: 2gb
cap_add:
- SYS_ADMIN
depends_on:
- cms
networks:
- teststate
junit-agent:
build:
context: .
dockerfile: implementation/client/junit-agent/Dockerfile
environment:
- HUB_URL=http://cms:9000
- CLIENT_NAME=JUnitAgent-Docker
- JUNIT_DEPENDENCIES=org.seleniumhq.selenium:selenium-java:4.43.0
- SELENIUM_REMOTE_URL=http://selenium-hub:4444/wd/hub
depends_on:
- cms
- selenium-hub
networks:
- teststate
# Selenium Grid for SideAgent (Hub and Nodes)
selenium-hub:
image: selenium/hub:4.43.0
container_name: selenium-hub
ports:
- "4442:4442"
- "4443:4443"
- "4444:4444"
networks:
- teststate
selenium-chrome:
image: selenium/node-chrome:4.43.0
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_NODE_MAX_SESSIONS=5
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
volumes:
- selenium_assets:/opt/selenium/assets
networks:
- teststate
selenium-firefox:
image: selenium/node-firefox:4.43.0
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_NODE_MAX_SESSIONS=5
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
volumes:
- selenium_assets:/opt/selenium/assets
networks:
- teststate
networks:
teststate:
driver: bridge
volumes:
cms_data:
selenium_assets: