Skip to content

Commit

Permalink
Merge pull request #96 from allenporter/docker
Browse files Browse the repository at this point in the history
Update README with docker example
  • Loading branch information
deepch authored Feb 19, 2022
2 parents 985cd16 + 76c35bd commit dcb1d45
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,39 @@ without the use of FFmpeg or GStreamer!
```bash
$ git clone https://github.com/deepch/RTSPtoWeb
```
3. CD to Directory
1. CD to Directory
```bash
$ cd RTSPtoWeb/
```
4. Test Run
1. Test Run
```bash
$ GO111MODULE=on go run *.go
```
5. Open Browser
1. Open Browser
```bash
open web browser http://127.0.0.1:8083 work chrome, safari, firefox
```

## Installation from docker

1. Run docker container
```bash
$ docker run --name rtsp-to-web --network host ghcr.io/deepch/rtsptoweb:latest
```
1. Open Browser
```bash
open web browser http://127.0.0.1:8083 in chrome, safari, firefox
```

You may override the <a href="#example-configjson">configuration</a> `/PATH_TO_CONFIG/config.json` and mount as a docker volume:

```bash
$ docker run --name rtsp-to-web \
-v /PATH_TO_CONFIG/config.json:/app/config.json \
--network host \
ghcr.io/deepch/rtsptoweb:latest
```

## Configuration

### Server settings
Expand Down

0 comments on commit dcb1d45

Please sign in to comment.