2019-11-03 10:19:43 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
hub:
|
|
|
|
image: vimagick/jsonwire-grid
|
|
|
|
ports:
|
|
|
|
- "4444:4444"
|
|
|
|
volumes:
|
|
|
|
- ./data:/etc/jsonwire-grid
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
firefox:
|
|
|
|
image: selenium/node-firefox:3.141.59-xenon
|
|
|
|
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME -port 5555" /opt/bin/entry_point.sh'
|
|
|
|
volumes:
|
|
|
|
- /dev/shm:/dev/shm
|
|
|
|
environment:
|
|
|
|
- HUB_HOST=hub
|
|
|
|
- HUB_PORT=4444
|
|
|
|
depends_on:
|
|
|
|
- hub
|
|
|
|
restart: unless-stopped
|
2019-11-03 10:54:00 +02:00
|
|
|
|
|
|
|
chrome:
|
|
|
|
image: selenium/node-chrome:3.141.59-xenon
|
|
|
|
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME -port 5555" /opt/bin/entry_point.sh'
|
|
|
|
volumes:
|
|
|
|
- /dev/shm:/dev/shm
|
|
|
|
environment:
|
|
|
|
- HUB_HOST=hub
|
|
|
|
- HUB_PORT=4444
|
|
|
|
depends_on:
|
|
|
|
- hub
|
|
|
|
restart: unless-stopped
|