Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created April 12, 2020 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/57334e044d1d6bf5af28b502010618e2 to your computer and use it in GitHub Desktop.
Save ajeetraina/57334e044d1d6bf5af28b502010618e2 to your computer and use it in GitHub Desktop.
YAML file for TestProject Agent
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