Hello all
I have overcome some of the difficulties I experienced when I upgraded from Dragonfish yesterday (high CPU use due to one of a couple of apps) but I have some problems to overcome and I’d like some opinions please:
- Given the ability to now install a docker-based custom “app” by going to
apps|discover apps|custom app
I would like to install Motioneye (CCTV video monitoring).
I am struggling to work out how to configure the menu options.
There is a working docker compose yaml for it and this works in dockge if I use Stux’ jlmkr approach to run dockge but for some reason on EE this now demands 100% CPU whereas on Dragonfish, it did not.
I tried installing dockge as a TrueNAS app but I couldn’t get Motioneye to run using the same yaml.
The yaml file is
version: "3.5"
services:
motioneye:
# ToDo: Change from unstable dev/edge to stable GitHub registry release and Docker registry release, once available
image: ghcr.io/motioneye-project/motioneye:edge
# https://github.com/motioneye-project/motioneye/pkgs/container/motioneye
hostname: motioneye
# motioneye:
container_name: motioneye
environment:
- HOSTNAME=motioneye
ports:
# host:container
# - 8081:8081 # if streaming in UI, open this port
# (or choose another in the UI and here)
- 8765:8765
volumes:
# host:container
- /etc/localtime:/etc/localtime:ro
- /dev/dri:/dev/dri
# - /mnt/mainraid/docker/data/motioneye/etc:/etc/motioneye
# - /mnt/mainraid/docker/data/motioneye/videos:/var/lib/motioneye
restart: unless-stopped
networks: {}
Hence Question 1: how do I convert this into a trueNAS custom app please?
Question 2 is whether it would be best for me to
- run the few apps as a mix of official and TN custom apps
*or - run them all via Stux’ jlmkr using dockge
or
*try to get the official TN dockge app to work and run them inside
“Best” in this case means reliability and lowest resource consumption. Given that I am not performing very well in my hobbby IT role, best ought to also mean “simplest”!
Thanks for any advice or help you can offer.