Skip to content

Commit 10769ce

Browse files
author
Leonid Makarov
committed
browser container configuration updates
- Pined selenium image to an older version See docksal/docksal#1096 (comment) - Mount /dev/shm from host to avoid the browser crashing inside a docker container - Use debug image version for VNC access out of the box
1 parent 05197c5 commit 10769ce

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

.docksal/docksal.env

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
# To override a variable locally:
33
# - create .docksal/docksal-local.env file and local variable overrides there
44
# - add .docksal/docksal-local.env to .gitignore
5-
6-
# Docksal configuration
7-
VIRTUAL_HOST=qa-suite.docksal

.docksal/docksal.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,19 @@ services:
2323
browser:
2424
hostname: browser
2525
# Pick/uncomment one
26-
image: selenium/standalone-chrome
27-
#image: selenium/standalone-firefox
26+
# Pin selenium image to an older version
27+
# See https://github.com/docksal/docksal/issues/1096#issuecomment-543316840
28+
image: selenium/standalone-chrome-debug:3.141.59
29+
#image: selenium/standalone-firefox-debug:3.141.59
30+
volumes:
31+
# Workaround to avoid the browser crashing inside a docker container
32+
# See https://github.com/SeleniumHQ/docker-selenium#quick-start
33+
- /dev/shm:/dev/shm
34+
# VNC port for debugging
35+
# Host: <your-docker-host>:5900 (e.g, localhost:5900, 192.168.64.100:5900)
36+
# Password: secret
37+
ports:
38+
- 5900:5900
2839

2940
# Web (reports)
3041
web:

0 commit comments

Comments
 (0)