Created
April 12, 2020 08:57
-
-
Save ajeetraina/57334e044d1d6bf5af28b502010618e2 to your computer and use it in GitHub Desktop.
YAML file for TestProject Agent
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
version: "3.1" | |
Services: | |
Testproject-agent: | |
image: testproject/agent:latest | |
container_name: testproject-agent3 | |
Depends_on: | |
- chrome | |
- firefox | |
Environment: | |
TP_API_KEY: <your_api_key> | |
TP_AGENT_ALIAS: "Docker Agent" | |
TP_JOB_ID: <job_id> | |
TP_JOB_PARAMS: '"jobParameters" : { "browsers": [ "chrome", "firefox" ] }' | |
CHROME: "chrome:4444" | |
FIREFOX: "firefox:4444" | |
Chrome: | |
image: selenium/standalone-chrome | |
Volumes: | |
- /dev/shm:/dev/shm | |
Firefox: | |
image: selenium/standalone-firefox | |
Volumes: | |
- /dev/shm:/dev/shm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment