mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "3233fbf5f592adcd7fa898e2df7478642de961f5" and "90463f5aafbbf31c4b431cc19801a80a2aadc3e4" have entirely different histories.
3233fbf5f5
...
90463f5aaf
|
@ -43,7 +43,6 @@ body:
|
||||||
label: Which Linux distribution are you employing?
|
label: Which Linux distribution are you employing?
|
||||||
options:
|
options:
|
||||||
-
|
-
|
||||||
- Alpine
|
|
||||||
- Debian 11
|
- Debian 11
|
||||||
- Debian 12
|
- Debian 12
|
||||||
- Ubuntu 20.04
|
- Ubuntu 20.04
|
||||||
|
|
|
@ -65,6 +65,7 @@ description
|
||||||
|
|
||||||
msg_info "Setting Container to Normal Resources"
|
msg_info "Setting Container to Normal Resources"
|
||||||
pct set $CTID -memory 1024
|
pct set $CTID -memory 1024
|
||||||
|
pct set $CTID -cores 2
|
||||||
msg_ok "Set Container to Normal Resources"
|
msg_ok "Set Container to Normal Resources"
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${APP} should be reachable by going to the following URL.
|
echo -e "${APP} should be reachable by going to the following URL.
|
||||||
|
|
|
@ -76,30 +76,6 @@ $STD npm run build
|
||||||
cp -r /opt/frigate/web/dist/* /opt/frigate/web/
|
cp -r /opt/frigate/web/dist/* /opt/frigate/web/
|
||||||
cp -r /opt/frigate/config/. /config
|
cp -r /opt/frigate/config/. /config
|
||||||
sed -i '/^s6-svc -O \.$/s/^/#/' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
|
sed -i '/^s6-svc -O \.$/s/^/#/' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
|
||||||
cat <<EOF >/config/config.yml
|
|
||||||
mqtt:
|
|
||||||
enabled: false
|
|
||||||
model:
|
|
||||||
path: /root/cpu_model.tflite
|
|
||||||
cameras:
|
|
||||||
test:
|
|
||||||
ffmpeg:
|
|
||||||
inputs:
|
|
||||||
- path: /media/frigate/person-bicycle-car-detection.mp4
|
|
||||||
input_args: -re -stream_loop -1 -fflags +genpts
|
|
||||||
roles:
|
|
||||||
- detect
|
|
||||||
- rtmp
|
|
||||||
detect:
|
|
||||||
height: 1080
|
|
||||||
width: 1920
|
|
||||||
fps: 5
|
|
||||||
EOF
|
|
||||||
ln -sf /config/config.yml /opt/frigate/config/config.yml
|
|
||||||
mkdir -p /dev/shm/logs/{frigate,go2rtc,nginx}
|
|
||||||
touch /dev/shm/logs/{frigate/current,go2rtc/current,nginx/current}
|
|
||||||
chmod -R 777 /dev/shm
|
|
||||||
sed -i -e 's/^kvm:x:104:$/render:x:104:root,frigate/' -e 's/^render:x:105:root$/kvm:x:105:/' /etc/group
|
|
||||||
msg_ok "Installed Frigate $RELEASE"
|
msg_ok "Installed Frigate $RELEASE"
|
||||||
|
|
||||||
msg_info "Installing Object Detection Models (Resilience)"
|
msg_info "Installing Object Detection Models (Resilience)"
|
||||||
|
@ -132,8 +108,6 @@ wget -q https://github.com/openvinotoolkit/open_model_zoo/raw/master/data/datase
|
||||||
sed -i 's/truck/car/g' openvino-model/coco_91cl_bkgr.txt
|
sed -i 's/truck/car/g' openvino-model/coco_91cl_bkgr.txt
|
||||||
wget -qO cpu_audio_model.tflite https://tfhub.dev/google/lite-model/yamnet/classification/tflite/1?lite-format=tflite
|
wget -qO cpu_audio_model.tflite https://tfhub.dev/google/lite-model/yamnet/classification/tflite/1?lite-format=tflite
|
||||||
cp /opt/frigate/audio-labelmap.txt /audio-labelmap.txt
|
cp /opt/frigate/audio-labelmap.txt /audio-labelmap.txt
|
||||||
mkdir -p /media/frigate
|
|
||||||
wget -qO /media/frigate/person-bicycle-car-detection.mp4 https://github.com/intel-iot-devkit/sample-videos/raw/master/person-bicycle-car-detection.mp4
|
|
||||||
msg_ok "Installed Object Detection Models"
|
msg_ok "Installed Object Detection Models"
|
||||||
|
|
||||||
msg_info "Building Nginx with Custom Modules"
|
msg_info "Building Nginx with Custom Modules"
|
||||||
|
|
Loading…
Reference in New Issue