1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-07 23:13:25 +02:00
Files
dockerfiles/selenium/grid/docker-compose-hub.yml

21 lines
425 B
YAML
Raw Normal View History

2021-05-28 16:16:06 +08:00
version: '3.8'
2019-05-10 15:31:34 +08:00
services:
2021-05-28 16:16:06 +08:00
hub:
image: selenium/hub:3.141.59
2019-05-10 15:31:34 +08:00
ports:
- "4444:4444"
volumes:
- /dev/shm:/dev/shm
environment:
- JAVA_OPTS=-Xmx512m
- GRID_TIMEOUT=60
- GRID_BROWSER_TIMEOUT=30
healthcheck:
test: ["CMD", "/opt/bin/check-grid.sh", "--host", "127.0.0.1", "--port", "4444"]
interval: 15s
timeout: 30s
retries: 5
restart: unless-stopped