Sign inSign up

seedll/shinobi_nvidia

By seedll

•Updated 4 months ago

Shinobi - This is a network video recorder. Shinobi - 这是一个网络录像机。

Image
0

1.5K

seedll/shinobi_nvidia repository overview

⁠Shinobi - This is a network video recorder.

⁠Shinobi - 这是一个网络录像机。

⁠Why is there this image?

⁠为什么会有这个镜像呢?

Because I couldn't find an official package on Docker Hub, so I followed the official documentation and used Nvidia's nvidia/cuda image as the base to create this image, which supports Nvidia graphics cards. 因为我在Docker Hub 中好像没发现官方自己打包的镜像??所以,我自己按照官方的文档,使用Nvidia的nvidia/cuda 镜像为基础,来打包了这个镜像,让镜像支持Nvidia的显卡。

In addition, this image will automatically fetch the latest official code every 10 days to update itself. 此外,这个镜像每10天就会自动去获取最新的官方代码来更新这个镜像。

⁠Note: This is an image without a built-in database version, so you need to prepare the database first.

注意:这是一个没有自带数据库版本的镜像,所以需要先准备好数据库。


Docker Environment VariableCorresponding Value
DB_USERmajesticflame
DB_PASSWORD
DB_HOSTlocalhost
DB_DATABASEccio
DB_PORT3306
DB_TYPEmysql
SUBSCRIPTION_IDsub_XXXXXXXXXXXX
PLUGIN_KEYS{}
SSL_ENABLEDfalse
SSL_COUNTRYCA
SSL_STATEBC
SSL_LOCATIONVancouver
SSL_ORGANIZATIONShinobi Systems
SSL_ORGANIZATION_UNITIT Department
SSL_COMMON_NAMEnvr.ninja
DB_DISABLE_INCLUDEDfals

Docker

sudo docker run -d \
  --name=Shinobi_Nvidia \
  --runtime=nvidia \
  --gpus all \
  -e UMASK_SET=022 \
  -e NVIDIA_VISIBLE_DEVICES={ your NVIDIA_VISIBLE_DEVICES }\
  -e NVIDIA_DRIVER_CAPABILITIES=all \
  -e DB_USER=shinobi \
  -e DB_PASSWORD='password' \
  -e DB_HOST='1.2.3.4' \
  -e DB_DATABASE=shinobi \
  -e DB_PORT=3306 \
  -e DB_TYPE='mysql' \
  -v {your data dir}/Video/CCTV_NVR/:/home/Shinobi/videos \
  -v {your data dir}/conf:/config \
  -v {your data dir}/libs:/home/Shinobi/libs/customAutoLoad \
  -v {your data dir}/plugins:/home/Shinobi/plugins \
  -v /etc/localtime:/etc/localtime \
  seedll/shinobi_nvidia

Tag summary

Content type

Image

Digest

sha256:9a4cde0d9…

Size

824.6 MB

Last updated

4 months ago

docker pull seedll/shinobi_nvidia