forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.new-jenkins-selenium.yml
77 lines (69 loc) · 2.09 KB
/
docker-compose.new-jenkins-selenium.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# it is intended that this be used exclusive of all other docker-compose.*yml files in CI
version: "2.3"
services:
canvas:
links:
- selenium-chrome
- canvasrceapi
environment:
remote_url: http://selenium-hub:4444/wd/hub
browser: chrome
RCE_HOST: "http://canvasrceapi"
# these are so we can use prod compiled assets in test environment
USE_OPTIMIZED_JS: 'true'
SASS_STYLE: 'compressed'
canvasrceapi:
image: starlord.inscloudgate.net/jenkins/canvas-rce-api
environment:
ECOSYSTEM_KEY: "astringthatisactually32byteslong"
ECOSYSTEM_SECRET: "astringthatisactually32byteslong"
HTTP_PROTOCOL_OVERRIDE: "http"
NODE_ENV: production
PASSENGER_MIN_INSTANCES: 2
PASSENGER_MAX_POOL_SIZE: 6
NGINX_WORKER_CONNECTIONS: 2048
STATSD_HOST: 127.0.0.1
STATSD_PORT: 8125
init: true
selenium-hub:
image: starlord.inscloudgate.net/jenkins/selenium-hub:${HUB_VERSION:-4.6}
environment:
GRID_BROWSER_TIMEOUT: 3000
selenium-chrome: &NODE_CHROME
image: starlord.inscloudgate.net/jenkins/selenium-node-chrome:${CHROME_VERSION:-107.0}
environment: &NODE_CHROME_ENV
SE_EVENT_BUS_HOST: selenium-hub
SE_EVENT_BUS_PUBLISH_PORT: 4442
SE_EVENT_BUS_SUBSCRIBE_PORT: 4443
HUB_PORT_4444_TCP_ADDR: selenium-hub
HUB_PORT_4444_TCP_PORT: 4444
SE_NODE_HOST: selenium-chrome
JAVA_OPTS: '-Dwebdriver.chrome.whitelistedIps='
init: true
links:
- selenium-hub
selenium-chrome2:
<<: *NODE_CHROME
environment:
<<: *NODE_CHROME_ENV
SE_NODE_HOST: selenium-chrome2
selenium-chrome3:
<<: *NODE_CHROME
environment:
<<: *NODE_CHROME_ENV
SE_NODE_HOST: selenium-chrome3
selenium-chrome4:
<<: *NODE_CHROME
environment:
<<: *NODE_CHROME_ENV
SE_NODE_HOST: selenium-chrome4
selenium-chrome5:
<<: *NODE_CHROME
environment:
<<: *NODE_CHROME_ENV
SE_NODE_HOST: selenium-chrome5
selenium-chrome6:
<<: *NODE_CHROME
environment:
<<: *NODE_CHROME_ENV
SE_NODE_HOST: selenium-chrome6