Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit cb36e50

Browse files
🌎 Selenium on Docker (reworkd#1175)
1 parent 4ddd6d0 commit cb36e50

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

‎docker-compose.yml

+21
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,27 @@ services:
6868
volumes:
6969
- weaviate:/var/lib/weaviate
7070

71+
# Central routing / management for selenium
72+
selenium-hub:
73+
image: selenium/hub:latest
74+
container_name: selenium-hub
75+
ports:
76+
- "4442:4442"
77+
- "4443:4443"
78+
- "4444:4444"
79+
80+
# Running selenium instance. An instance will block per request so we need to scale this out
81+
chrome:
82+
image: seleniarm/node-chromium
83+
# image: selenium/node-chrome:4 # If you're on an non-ARM system
84+
shm_size: 2gb
85+
depends_on:
86+
- selenium-hub
87+
environment:
88+
- SE_EVENT_BUS_HOST=selenium-hub
89+
- SE_EVENT_BUS_PUBLISH_PORT=4442
90+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
91+
7192
volumes:
7293
weaviate:
7394
db_data:

0 commit comments

Comments
 (0)