2
2
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
3
3
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
4
4
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5
- FROM selenium/base:4.0.0-alpha-7-prerelease-20201009
5
+ FROM selenium/base:4.0.0-alpha-7-20201119
6
6
LABEL authors=SeleniumHQ
7
7
8
8
USER 1200
@@ -15,31 +15,23 @@ EXPOSE 4442
15
15
EXPOSE 4443
16
16
EXPOSE 4444
17
17
18
- # As integer, maps to "maxSession"
19
- ENV GRID_MAX_SESSION 5
20
- # In milliseconds, maps to "newSessionWaitTimeout"
21
- ENV GRID_NEW_SESSION_WAIT_TIMEOUT -1
22
- # As a boolean, maps to "throwOnCapabilityNotPresent"
23
- ENV GRID_THROW_ON_CAPABILITY_NOT_PRESENT true
24
- # As an integer
25
- ENV GRID_JETTY_MAX_THREADS -1
26
- # In milliseconds, maps to "cleanUpCycle"
27
- ENV GRID_CLEAN_UP_CYCLE 5000
28
- # In seconds, maps to "browserTimeout"
29
- ENV GRID_BROWSER_TIMEOUT 0
30
- # In seconds, maps to "timeout"
31
- ENV GRID_TIMEOUT 1800
32
- # Debug
33
- ENV GRID_DEBUG false
18
+ # In seconds, maps to "--session-request-timeout"
19
+ ENV SE_SESSION_REQUEST_TIMEOUT 300
20
+ # In seconds, maps to "--session-retry-interval"
21
+ ENV SE_SESSION_RETRY_INTERVAL 5
22
+ # Boolean value, maps "--relax-checks"
23
+ ENV SE_RELAX_CHECKS true
34
24
# As integer, maps to "port"
35
- ENV GRID_HUB_PORT 4444
25
+ ENV SE_HUB_PORT 4444
36
26
# As string, maps to "host"
37
- ENV GRID_HUB_HOST "0.0.0.0"
27
+ ENV SE_HUB_HOST "0.0.0.0"
28
+ # As string, maps to "allow-cors"
29
+ ENV SE_ALLOW_CORS false
38
30
39
31
COPY generate_config \
40
32
start-selenium-grid-hub.sh \
41
33
/opt/bin/
42
34
43
35
COPY selenium-grid-hub.conf /etc/supervisor/conf.d/
44
36
45
- RUN /opt/bin/generate_config > /opt/selenium/config.json
37
+ RUN /opt/bin/generate_config > /opt/selenium/config.toml
0 commit comments