R
R
Roman Zhukov2018-07-20 10:55:27
selenium
Roman Zhukov, 2018-07-20 10:55:27

How to make selenoid and docker-compose 3.6 friends?

SELENOID does not run on docker-compose version 3.6
[Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory]
My docker-compose

version: "3.6"

services:

  105--1325-silenium--selenoid:
    image: "aerokube/selenoid"
    container_name: 105--1325-silenium--selenoid
    networks:
      - front
      - back
    volumes:
      - type: bind
        source: ./selenoid/browsers.json
        target: /etc/selenoid/browsers.json
      - type: bind
        source: /var/run/docker.sock
        target: /var/run/docker.sock
      - type: bind
        source: ./video
        target: /opt/selenoid/video

    environment:
     - OVERRIDE_VIDEO_OUTPUT_DIR=$PWD
    command: ["-conf", "/etc/selenoid/browsers.json", "-video-output-dir", "/opt/selenoid/video"]
    ports:
     - "4444:4444"

  105--1325-silenium--selenoid-ui:
    image: "aerokube/selenoid-ui"
    container_name: 105--1325-silenium--selenoid-ui
    networks:
      - front
      - back
    depends_on:
      - 105--1325-silenium--selenoid
    ports:
      - "8083:8080"
    command: ["--selenoid-uri", "http://selenoid:4444"]

networks:
  back:
    external:
      name: back
  front:
    external:
      name: front

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Talik, 2018-07-20
@rom111419

Does config/container-logs.json exist somewhere?

R
Roman Zhukov, 2018-11-16
@rom111419

Added container-logs.json and it helped. Thank you!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question