Created
February 2, 2019 13:58
-
-
Save shs96c/fa6a8966d79ab73cbef2c8ecbbb25674 to your computer and use it in GitHub Desktop.
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' | |
services: | |
sessions: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
command: ["/selenium.jar", "sessions", "-p", "4001"] | |
ports: | |
- "4001:4001" | |
distributor: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
command: ["/selenium.jar", "distributor", "-p", "4000"] | |
ports: | |
- "4000:4000" | |
- "4442:4442" | |
- "4443:4443" | |
depends_on: | |
- sessions | |
router: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
command: ["/selenium.jar", "router", "-p", "4444", "-s", "http://sessions:4001", "-d", "http://distributor:4000"] | |
ports: | |
- "4444:4444" | |
depends_on: | |
- sessions | |
- distributor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To create:
You can add a node using: