mirror of https://github.com/tteck/Proxmox.git
Compare commits
7 Commits
90463f5aaf
...
3233fbf5f5
Author | SHA1 | Date |
---|---|---|
|
3233fbf5f5 | |
|
980fb26b41 | |
|
3817e9372f | |
|
6c9f829ee9 | |
|
6e3e49337b | |
|
35837f056d | |
|
a16f31bbca |
|
@ -43,6 +43,7 @@ body:
|
|||
label: Which Linux distribution are you employing?
|
||||
options:
|
||||
-
|
||||
- Alpine
|
||||
- Debian 11
|
||||
- Debian 12
|
||||
- Ubuntu 20.04
|
||||
|
|
|
@ -65,7 +65,6 @@ description
|
|||
|
||||
msg_info "Setting Container to Normal Resources"
|
||||
pct set $CTID -memory 1024
|
||||
pct set $CTID -cores 2
|
||||
msg_ok "Set Container to Normal Resources"
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${APP} should be reachable by going to the following URL.
|
||||
|
|
|
@ -76,6 +76,30 @@ $STD npm run build
|
|||
cp -r /opt/frigate/web/dist/* /opt/frigate/web/
|
||||
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
|
||||
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_info "Installing Object Detection Models (Resilience)"
|
||||
|
@ -108,6 +132,8 @@ 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
|
||||
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
|
||||
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_info "Building Nginx with Custom Modules"
|
||||
|
|
Loading…
Reference in New Issue