Created
February 16, 2023 19:01
-
-
Save Vinay08sharma/46c2402555659746963ce78ba5ec063a 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: | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
initial commit