Skip to content

Commit 2611e30

Browse files
committed
Add real-world example on how to run with Docker
1 parent 1a63540 commit 2611e30

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ options:
4242
-p, --port PORT The port the HTTP should listen on
4343
```
4444

45+
In practice, you could use something like this to run the container:
46+
47+
```bash
48+
docker run -d --restart unless-stopped \
49+
--mount type=bind,src=$(pwd)/nitor-default.jpg,dst=/app/fallback.jpg \
50+
-p 10.211.0.186:6180:6180 \
51+
vinx-mjpeg-server:latest \
52+
--bootstrap-node 10.211.0.75 \
53+
--fallback-image /app/fallback.jpg
54+
```
55+
4556
## License
4657

4758
GNU GENERAL PUBLIC LICENSE version 3

0 commit comments

Comments
 (0)