1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/selenoid/docker-compose.yml
2021-04-20 11:27:33 +08:00

34 lines
753 B
YAML

version: "3.8"
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