Moved from a custom selenium UC standalone to selenium hub with a custom UC node
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
services:
|
||||
undetected-chromedriver:
|
||||
# undetected-chromedriver:
|
||||
# # image: git.matthiasg.dev/ninluc/selenium/standalone-uc:latest
|
||||
# image: selenium/standalone-chrome:latest
|
||||
# # build:
|
||||
# # context: ./
|
||||
# # dockerfile: seleniumChromedriverDockerfile
|
||||
# volumes:
|
||||
# - /tmp:/tmp
|
||||
# - chromeProfile:/home/seluser/profile/
|
||||
# shm_size: 2gb
|
||||
# tty: true
|
||||
# ports:
|
||||
# - "4444:4444"
|
||||
# - "7900:7900"
|
||||
|
||||
undetected-chromedriver-node:
|
||||
# image: git.matthiasg.dev/ninluc/selenium/standalone-uc:latest
|
||||
# image: selenium/node-chrome:latest
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: seleniumChromedriverDockerfile
|
||||
@@ -8,9 +25,27 @@ services:
|
||||
- chromeProfile:/home/seluser/profile/
|
||||
shm_size: 2gb
|
||||
tty: true
|
||||
environment:
|
||||
- SE_EVENT_BUS_HOST=selenium-hub
|
||||
- SE_EVENT_BUS_PUBLISH_PORT=4442
|
||||
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
|
||||
ports:
|
||||
- "4444:4444"
|
||||
- "7900:7900"
|
||||
networks:
|
||||
- selenium-grid
|
||||
|
||||
selenium-hub:
|
||||
image: selenium/hub:latest
|
||||
tty: true
|
||||
ports:
|
||||
- "4442-4444:4442-4444"
|
||||
networks:
|
||||
- selenium-grid
|
||||
|
||||
|
||||
networks:
|
||||
selenium-grid:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
chromeProfile:
|
||||
|
||||
Reference in New Issue
Block a user