2021-04-20 05:27:33 +02:00
|
|
|
version: "3.8"
|
2019-11-03 06:01:33 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
selenoid:
|
|
|
|
image: aerokube/selenoid:latest-release
|
|
|
|
command: |
|
|
|
|
-conf config/browsers.json
|
2021-08-04 07:33:00 +02:00
|
|
|
-video-output-dir videos
|
2019-11-03 06:01:33 +02:00
|
|
|
-log-output-dir logs
|
2019-11-06 05:41:30 +02:00
|
|
|
-limit 4
|
|
|
|
-timeout 5m
|
|
|
|
-max-timeout 1h
|
2019-11-03 06:01:33 +02:00
|
|
|
-container-network selenoid_default
|
|
|
|
ports:
|
|
|
|
- "4444:4444"
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- ./data:/opt/selenoid
|
|
|
|
environment:
|
|
|
|
- TZ=UTC
|
2021-08-04 07:33:00 +02:00
|
|
|
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/data/videos
|
2019-11-03 06:01:33 +02:00
|
|
|
working_dir: /opt/selenoid
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
selenoid-ui:
|
|
|
|
image: aerokube/selenoid-ui:latest-release
|
|
|
|
command: --selenoid-uri=http://selenoid:4444
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
depends_on:
|
|
|
|
- selenoid
|
|
|
|
restart: unless-stopped
|