Skip to content

Commit

Permalink
Switched from fixed to commit to master branch & restored original co…
Browse files Browse the repository at this point in the history
…nfig.dist
  • Loading branch information
EricReiche committed Feb 4, 2022
1 parent 5c6a522 commit 9484558
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM golang:alpine

ARG COMMIT=2be23e9a433112a097f43cb78f6956c4b108021b
# Set necessary environmet variables needed for our image
ENV CGO_ENABLED=0 \
GOOS=linux \
Expand All @@ -13,7 +12,7 @@ WORKDIR /build
RUN apk add --no-cache git

# Copy and download dependency using go mod
RUN git clone https://github.com/deepch/RTSPtoWeb.git && cd RTSPtoWeb && git checkout $COMMIT && go build
RUN git clone https://github.com/deepch/RTSPtoWeb.git && cd RTSPtoWeb && go build

# Move to /dist directory as the place for resulting binary folder
WORKDIR /dist
Expand Down
25 changes: 15 additions & 10 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,26 @@
"http_password": "demo",
"http_port": ":8083",
"log_level": "debug",
"rtsp_port": ":5541"
},
"rtsp_port": ":5541",
"https": false,
"https_port": ":443",
"https_cert": "server.crt",
"https_key": "server.key",
"token": {
"enable": false,
"backend": "http://127.0.0.1/test.php"
}
},
"streams": {
"demo": {
"channels": {
"0": {
"debug": false,
"url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
},
"1": {
"debug": false,
"url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
"debug": true,
"on_demand": false,
"url": "rtsp://admin:[email protected]:5541/video1"
}
},
"name": "fdgfdgdfg"
"name": "demo"
}
}
}
}

0 comments on commit 9484558

Please sign in to comment.