This is a docker image for Agent DVR from iSpy created for convenience. Please consider donating/sponsoring. While still in direct contact with iSpy, we still maintain this at our own time. The software creates a local server for IP cameras to be managed. For more information visit: https://www.ispyconnect.com/userguide-agent-dvr.aspx
Ways to support us | |
---|---|
Github | Paypal |
💗 Sponsor |
By default the container will use port 8090 for Web UI. To access the panel go to http://localhost:8090 or replace localhost with your local IP.
Main port used for TURN server communication.
Ports used to create connections or WebRTC. These will be used as needed.
/agent/Media/XML/
/agent/Media/WebServerRoot/Media/
/agent/Commands
Migration Notes: If you had the old format of audio and video volumes please move them within the new media folder before starting the container again.
It would look something like this: mkdir /appdata/ispyagentdvr/media mv /apdata/ispyagentdvr/audio /appdata/ispyagentdvr/media mv /appdata/ispyagentdvr/video /appdata/ispyagentdvr/media
docker run -it -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp \
-v /appdata/ispyagentdvr/config/:/agent/Media/XML/ \
-v /appdata/ispyagentdvr/media/:/agent/Media/WebServerRoot/Media/ \
-v /appdata/ispyagentdvr/commands:/agent/Commands/ \
-e TZ=America/Los_Angeles \
--name ispyagentdvr doitandbedone/ispyagentdvr
This will default to the latest. See Tags section for other versions. Make sure to change TZ value to your own timezone, here's a table with all values: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
This tag will give you the latest version of the build.
docker run -it -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp \
-v /appdata/ispyagentdvr/config/:/agent/Media/XML/ \
-v /appdata/ispyagentdvr/media/:/agent/Media/WebServerRoot/Media/ \
-v /appdata/ispyagentdvr/commands:/agent/Commands/ \
-e TZ=America/Los_Angeles \
--name ispyagentdvr doitandbedone/ispyagentdvr:latest
Tags will also be created for older releases. For example, for version 2.7.6.0:
docker run -it -p 8090:8090 -p 3478:3478/udp 50000-50010:50000-50010/udp \
-v /appdata/ispyagentdvr/config/:/agent/Media/XML/ \
-v /appdata/ispyagentdvr/media/:/agent/Media/WebServerRoot/Media/ \
-v /appdata/ispyagentdvr/commands:/agent/Commands/ \
-e TZ=America/Los_Angeles \
--name ispyagentdvr doitandbedone/ispyagentdvr:2.7.6.0
As of version 2.8.4.0 non host network is supported, for this to work, a turn server was included with the software. You will need to open up ports for this to porperly work, thus the UDP ports listed in the sample runs.
To access UI panel go to the container's http://<container's ip>: such as http://192.168.1.42:8090.
Please use tag vlc:
docker run -it -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp \
-v /appdata/ispyagentdvr/config/:/agent/Media/XML/ \
-v /appdata/ispyagentdvr/media/:/agent/Media/WebServerRoot/Media/ \
-v /appdata/ispyagentdvr/commands:/agent/Commands/ \
-e TZ=America/Los_Angeles \
--name ispyagentdvr doitandbedone/ispyagentdvr:vlc
Open up a terminal, and let's call bash in your existing image:
docker exec -it ispyagentdvr /bin/bash
Once in, run the following command:
apt-get update && apt-get install -y libvlc-dev vlc libx11-dev
Once the installation is done, exit out of bash:
exit
Now, let's restart the container:
docker restart ispyagentdvr
That should be it!
Please note that if you named your container differently you must use either the container id or name you assigned instead of "ispyagentdvr". You can get a list of containers by running the follwoing command:
docker ps -a
Also note if you remove the container you will have to do this again. Reason why we recommend using vlc tag instead.