Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still usable? #201

Open
debugged-tech opened this issue Oct 11, 2021 · 2 comments
Open

Still usable? #201

debugged-tech opened this issue Oct 11, 2021 · 2 comments

Comments

@debugged-tech
Copy link

Is UniFi Video Docker still usable? I have clients that do not want video footage stored on-site and this would be perfect so I could pair the cameras to this controller that runs off-site.

@APz
Copy link

APz commented Nov 29, 2021

Yes. I have couple of sites that were not practical to migrate to Unifi Protect and to this day they run the .13 version of Unifi Video. Since the Unifi Video portal is killed, you need to use VPN or port forwards (highly not recommended) to access it outside. Other than that, it works and has the limitations it always had, like eternal beta timeline and so on.

Note that the newest G3 camera firmware that works is 4.23.8. If you buy new cameras, they have newer firmware than this and won't work. You can downgrade them without problems. Naturally the new camera models won't work.

@vuhuy
Copy link

vuhuy commented Mar 13, 2023

The original author disbanded the project for good reasons, as UniFi Video is now EOL. However, the images at Docker Hub are outdated vulnerable for the log4j exploit. An unreleased fix is available from the master branch but it won't build due to broken dependencies.

I made a fork with some changes and fixes. I'm not planning to submit a pull request since UniFi Video and this repostory are dead.

  • Updated container base image. Changed from phusion/baseimage:0.11 to phusion/baseimage:bionic-1.0.0-amd64.
  • Rework correct port exposure. Original had to many unnecessary ports exposed.
  • Rework available environment variables. Added and renamed a few options to configure the container using Docker run or Compose.
  • Rework log4j mitigation. Changed mitigation method from disguising log4j v2.17.0 as v2.1.0 to removing the JndiLookup class from the classpath of the included log4j v2.1.0 in UniFi Video.
  • Rework UniFi Video and dependencies installation script. This also fixes the broken Docker build on the current main branch of the original repository.
  • Rework host TMPFS fix. The TMPFS should now be populated before the UniFi Video service starts. Should work for container restarts too.
  • Updated README file. More examples and documentation.
  • Updated Docker Compose YAML. Is now up to date with all changes done.

Works fine for Docker on Ubuntu 22.04 LTS. Should still work for k8s too but I have not tested this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants