@@ -8,31 +8,23 @@ EXPOSE 4442
8
8
EXPOSE 4443
9
9
EXPOSE 4444
10
10
11
- # As integer, maps to "maxSession"
12
- ENV GRID_MAX_SESSION 5
13
- # In milliseconds, maps to "newSessionWaitTimeout"
14
- ENV GRID_NEW_SESSION_WAIT_TIMEOUT -1
15
- # As a boolean, maps to "throwOnCapabilityNotPresent"
16
- ENV GRID_THROW_ON_CAPABILITY_NOT_PRESENT true
17
- # As an integer
18
- ENV GRID_JETTY_MAX_THREADS -1
19
- # In milliseconds, maps to "cleanUpCycle"
20
- ENV GRID_CLEAN_UP_CYCLE 5000
21
- # In seconds, maps to "browserTimeout"
22
- ENV GRID_BROWSER_TIMEOUT 0
23
- # In seconds, maps to "timeout"
24
- ENV GRID_TIMEOUT 1800
25
- # Debug
26
- ENV GRID_DEBUG false
11
+ # In seconds, maps to "--session-request-timeout"
12
+ ENV SE_SESSION_REQUEST_TIMEOUT 300
13
+ # In seconds, maps to "--session-retry-interval"
14
+ ENV SE_SESSION_RETRY_INTERVAL 5
15
+ # Boolean value, maps "--relax-checks"
16
+ ENV SE_RELAX_CHECKS true
27
17
# As integer, maps to "port"
28
- ENV GRID_HUB_PORT 4444
18
+ ENV SE_HUB_PORT 4444
29
19
# As string, maps to "host"
30
- ENV GRID_HUB_HOST "0.0.0.0"
20
+ ENV SE_HUB_HOST "0.0.0.0"
21
+ # As string, maps to "allow-cors"
22
+ ENV SE_ALLOW_CORS false
31
23
32
24
COPY generate_config \
33
25
start-selenium-grid-hub.sh \
34
26
/opt/bin/
35
27
36
28
COPY selenium-grid-hub.conf /etc/supervisor/conf.d/
37
29
38
- RUN /opt/bin/generate_config > /opt/selenium/config.json
30
+ RUN /opt/bin/generate_config > /opt/selenium/config.toml
0 commit comments