@@ -8,38 +8,12 @@ LABEL authors=SeleniumHQ
88USER 1200
99
1010# ========================
11- # Selenium Configuration
11+ # Selenium Distributor Configuration
1212# ========================
1313
14- EXPOSE 4442
15- EXPOSE 4443
16- EXPOSE 4444
14+ EXPOSE 5553
1715
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
34- # As integer, maps to "port"
35- ENV GRID_HUB_PORT 4444
36- # As string, maps to "host"
37- ENV GRID_HUB_HOST "0.0.0.0"
38-
39- COPY generate_config \
40- start-selenium-grid-distributor.sh \
16+ COPY start-selenium-grid-distributor.sh \
4117 /opt/bin/
4218
4319COPY selenium-grid-distributor.conf /etc/supervisor/conf.d/
44-
45- RUN /opt/bin/generate_config > /opt/selenium/config.json
0 commit comments