-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathdocker-compose.selenium-chrome.yaml
More file actions
33 lines (33 loc) · 1.12 KB
/
docker-compose.selenium-chrome.yaml
File metadata and controls
33 lines (33 loc) · 1.12 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
#ddev-generated
# Remove the line above if you don't want this file to be overwritten when you run
# ddev get ddev/ddev-selenium-standalone-chrome
#
# This file comes from https://github.com/ddev/ddev-selenium-standalone-chrome
#
services:
selenium-chrome:
image: selenium/standalone-chromium:138.0
container_name: ddev-${DDEV_SITENAME}-selenium-chrome
expose:
# The internal noVNC port, which operates over HTTP so it can be exposed
# through the router.
- 7900
environment:
- VIRTUAL_HOST=$DDEV_HOSTNAME
- HTTPS_EXPOSE=7900:7900
- HTTP_EXPOSE=7910:7900
- VNC_NO_PASSWORD=1
# Enables multiple parallel connections to the Selenium.
- SE_NODE_MAX_SESSIONS=12
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
# To enable VNC access for traditional VNC clients like macOS "Screen Sharing",
# uncomment the following two lines.
#ports:
# - "5900:5900"
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
volumes:
# To enable file uploads in E2E tests.
- "../:/var/www/html"
- ".:/mnt/ddev_config"