From 6cfe8593e30a6192180d9f2ab162fd0fe26c5b7e Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Tue, 21 Jul 2020 11:03:39 -0500 Subject: [PATCH] Create docker-compose.yml --- .github/ci/docker-compose.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/ci/docker-compose.yml diff --git a/.github/ci/docker-compose.yml b/.github/ci/docker-compose.yml new file mode 100644 index 0000000..947ef48 --- /dev/null +++ b/.github/ci/docker-compose.yml @@ -0,0 +1,31 @@ +version: "3.1" +services: + testproject-agent: + image: testproject/agent:latest + container_name: testproject-agent + depends_on: + - chrome + - firefox + environment: + TP_API_KEY: "${TP_API_KEY}" + TP_AGENT_TEMP: "true" + TP_SDK_PORT: "8686" + CHROME: "chrome:4444" + CHROME_EXT: "localhost:5555" + FIREFOX: "firefox:4444" + FIREFOX_EXT: "localhost:6666" + ports: + - "8585:8585" + - "8686:8686" + chrome: + image: selenium/standalone-chrome + volumes: + - /dev/shm:/dev/shm + ports: + - "5555:4444" + firefox: + image: selenium/standalone-firefox + volumes: + - /dev/shm:/dev/shm + ports: + - "6666:4444"