canyanio / janus-gateway-docker

Docker image for the Janus WebRTC Server
Other
160 stars 64 forks source link

How can I checkout to another branch of janus? #23

Open algosoftbd opened 2 years ago

algosoftbd commented 2 years ago

Hello, I modified the docker-compose.yml file like this:

version: '2.1'
services:

  janus-gateway:
    image: 'canyan/janus-gateway:0.10.7'
    command: ["/usr/local/bin/janus", "-F", "/usr/local/etc/janus"]
    ports:
      - "8188:8188"
      - "8088:8088"
      - "8089:8089"
      - "8889:8889"
      - "8000:8000"
      - "7088:7088"
      - "7089:7089"
      - "20000-20500:20000-20500/udp"
    environment:
      - GIT_BRANCH=multistream
    volumes:
      - "./janus-configs/:/usr/local/etc/janus/"

Here I mentioned GIT_BRANCH=multistream. But, it seems multistream branch is not running in my docker container. I killed the previous docker image and run docker-compose up -d again though. How can I check this and ensure that specific branch of janus is running?