-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated README for docker usage. Also updated docker-compose-v3.yml t…
…o support proxy usage
- Loading branch information
1 parent
4b48138
commit cc41631
Showing
4 changed files
with
61 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Setting up docker containers | ||
|
||
It is now easy to start and stop containers for Selenium-Hub, Chrome and Firefox. | ||
|
||
## To start the containers | ||
|
||
./dockerContainers.sh up | ||
|
||
or | ||
|
||
./dockerContainers.sh start | ||
|
||
## To stop the containers | ||
|
||
./dockerContainers.sh down | ||
|
||
or | ||
|
||
./dockerContainers.sh stop | ||
|
||
This uses [docker-compose-v3.yml](../docker-compose-v3.yml) - which uses the latest chrome, firefox and selenium-hub. | ||
|
||
**The [dockerContainers.sh](../dockerContainers.sh) script also takes care of running tests on | ||
Windows, Linux, Mac OSX | ||
(intel | ||
chip, M1, | ||
M1-Pro).** | ||
|
||
## Changes required | ||
Each team will need to do the following changes to use this effectively: | ||
|
||
In [dockerContainers.sh](../dockerContainers.sh) , | ||
* replace all references of **TESWIZ_GRID_PORT** with the actual environment variable you are using | ||
for setting a dynamic port via **REMOTE_WEBDRIVER_GRID_PORT** (in config.properties). | ||
* Default is 4444 | ||
* replace all references of **HTTP_PROXY** with the actual environment variable you are using for | ||
setting the **PROXY_KEY** (in config.properties). | ||
* Default is NOT_SET |