Moved from a custom selenium UC standalone to selenium hub with a custom UC node
All checks were successful
Test, build and push image to registry / phpunit-tests (push) Successful in 1m54s
Test, build and push image to registry / build-image (push) Successful in 3m0s

This commit is contained in:
2025-12-16 12:47:24 +01:00
parent 062f428fbc
commit 2a7330bd08
12 changed files with 142 additions and 37 deletions

View File

@@ -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: