1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/selenoid/docker-compose.yml
2019-11-06 11:44:48 +08:00

34 lines
753 B
YAML

version: "3.7"
services:
selenoid:
image: aerokube/selenoid:latest-release
command: |
-conf config/browsers.json
-video-output-dir video
-log-output-dir logs
-limit 4
-timeout 5m
-max-timeout 1h
-container-network selenoid_default
ports:
- "4444:4444"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/opt/selenoid
environment:
- TZ=UTC
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/data/video
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