Skip to content

Instantly share code, notes, and snippets.

@Vinay08sharma
Created February 16, 2023 19:01
Show Gist options
  • Save Vinay08sharma/46c2402555659746963ce78ba5ec063a to your computer and use it in GitHub Desktop.
Save Vinay08sharma/46c2402555659746963ce78ba5ec063a to your computer and use it in GitHub Desktop.
version: '3'
services:
selenoid:
image: "aerokube/selenoid:latest"
container_name: selenoid
ports:
- "4445:4444"
networks:
- selenoid
volumes:
- "$PWD/config:/etc/selenoid"
- "$PWD/config/logs:/output"
- "/var/run/docker.sock:/var/run/docker.sock"
- "$PWD/config/video:/opt/selenoid/video"
environment:
- "OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/config/video"
command: ["-conf", "/etc/selenoid/browsers.json", "-video-output-dir", "/opt/selenoid/video", "-container-network", "selenoid", "-service-startup-timeout","2m"]
selenoid-ui:
image: "aerokube/selenoid-ui:latest"
container_name: selenoid-ui
links:
- selenoid
ports:
- "8083:8080"
networks:
- selenoid
command: ["--selenoid-uri", "http://selenoid:4444"]
chrome_91.0.b:
image: "<Compatible Chrome Image>"
container_name: chrome_91.0.b
links:
- selenoid
- selenoid-ui
depends_on:
- selenoid
- selenoid-ui
networks:
- selenoid
volumes:
- "/dev/shm:/dev/shm"
networks:
selenoid:
external:
name: selenoid
@Vinay08sharma
Copy link
Author

initial commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment