Skip to content

Commit

Permalink
Selenium Service Migration to Docker Compose (#3883)
Browse files Browse the repository at this point in the history
* Selenium Service Migration to Docker Compose

* Improved the consistency and readability of your code.

* Remove unused build target, switch to standalone-chrome, and update scripts for consistency

* fix(docker-compose): revert to using selenium/standalone-edge

* Changed the image to selenium/standalone-edge:4.10.0-20230607 to match the original configuration
  • Loading branch information
shubhadapaithankar authored Oct 11, 2024
1 parent a1029af commit 4256e68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -445,3 +445,7 @@ run-portal:
run-rp: aks.kubeconfig
docker compose rm -sf rp
docker compose up rp

.PHONY: run-selenium
run-selenium:
docker compose up selenium
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ services:
timeout: 3s
retries: 3

selenium:
image: selenium/standalone-edge:4.10.0-20230607
container_name: selenium-container
network_mode: host
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4444"]
interval: 30s
timeout: 10s
retries: 3

rp:
image: ${LOCAL_ARO_RP_IMAGE}:${VERSION}
build:
Expand Down

0 comments on commit 4256e68

Please sign in to comment.