Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. ---
  2. version: '3.7'
  3.  
  4. services:
  5. hub:
  6. image: selenium/hub:3.141.59-mercury
  7. ports:
  8. - "4444:4444"
  9.  
  10. chrome:
  11. image: selenium/node-chrome:3.141.59-mercury
  12. volumes:
  13. - /dev/shm:/dev/shm
  14. environment:
  15. HUB_HOST: hub
  16. HUB_PORT: 4444
  17. SCREEN_WIDTH: 2560
  18. SCREEN_HEIGHT: 1440
  19. SCREEN_DEPTH: 24
  20. NODE_MAX_INSTANCES: 1
  21. NODE_MAX_SESSION: 1
  22.  
  23. deploy:
  24. replicas: 10
  25. entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME" /opt/bin/entry_point.sh'
  26.  
  27. firefox:
  28. image: selenium/node-firefox:3.141.59-mercury
  29. volumes:
  30. - /dev/shm:/dev/shm
  31. environment:
  32. HUB_HOST: hub
  33. HUB_PORT: 4444
  34. SCREEN_WIDTH: 2560
  35. SCREEN_HEIGHT: 1440
  36. SCREEN_DEPTH: 24
  37. NODE_MAX_INSTANCES: 1
  38. NODE_MAX_SESSION: 1
  39.  
  40. deploy:
  41. replicas: 10
  42. entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME" /opt/bin/entry_point.sh'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement