Just got my first security camera, a Hikvision multi focal 4MP. I got Proxmox up and running and installed Frigate through the community LXC repository on github. Most of the documentation is to first install Docker as LXC and then Frigate as a normal docker compose yml, where all the configuration is done. Now that I’ve skipped the docker bit, how do i config my camera on frigate. From reading the frigate website, i need access to config file. I also need to tell frigate to save all streaming on my Truenas that I’ve shared with Proxmox via a NFS share. Anyone have a similar setup? These LXC containers seem pretty cool as concept, as from what I understand, they’re similar to a bare metal install except the host shares its kernel and they bring the convienence of containerisation. Basically, LXC and Docker are similar in concept but with Docker you have the benefit of compose and portainer which are universal whereas LXC is part of Proxmox. Is that a fair summary?
“Skipped the docker bit”? I’m assuming you mean by using the proxmox helper scripts? If so, the path to the config file is there as well. If you are setting this all up on your own without the helper script, then the config path is whatever you choose in your compose.yaml.
Frigate also has a built in config editor, so as long as you have it up and running with the correct storage path you can edit the configuration on the front end.
TBH, the phrase “skipped the docker” is a bit confusing. Running in LXC doesn’t mean you are not using docker, the script installs docker on the container. I personally don’t run it in a container, passing through storage and detector hardware can be challenging. Just spin up a small Debian VM, install docker and compose, and follow the frigate documentation. It’s very well written, and almost every problem you would run into is covered. It will give you the basics of the inner workings, and makes it much easier to pass through hardware and storage.
non_burglar@lemmy.world 1 week ago
You have a few questions here, which ones do you want answered?
To configure the camera, you should have defined it in the config. That you don’t know this means you should go back to the docs and read the setup section start to end.
I write my frigate clips to an NFS share. I mount it on the host and bind Mount the path in my container. You can also mount NFS directly in a container, but it comes with extra steps.
LXC is not a proxmox-specific thing. You can run lxc containers on almost any Linux and you can manage multiple containers with other software (lxd, incus, etc). At one time, docker was based on lxc, but both docker and lxc have evolved significantly since then.
LXC and docker are indeed similar, but one aims to provide an OS-level environment and the other simply a software environment.
trilobite@lemmy.ml 1 week ago
Ah right. Docker seems to have gained more ground than LXC if its the first time I come across it. I hadn’t realised they were similar, especially after I discovered that people are running docker in LXC …
non_burglar@lemmy.world 1 week ago
They aren’t really competing in the same space. LXC is more comparable to jails or openvz in that they provide an os layer, Docker does not.
I recently saw docker described in a web comic where some poor dev was bemoaning that his software “worked on his machine”, and his teacher says “then we’ll ship your machine”, meaning Docker sets up a software environment for a project to work, nothing more.
Docker was at first based on lxc, but has since moved to its own libcontainer.