unifi-cam-proxy docker - how to install

fixer01

Cadet
Joined
Nov 24, 2022
Messages
3
I want to install this docker https://unifi-cam-proxy.com/ in my TrueNAS Scale. I have installed the docker via "Launch Docker Image" just by naming the application and setting image repository. But from the logs I see I need to specify som arguments "unifi-cam-proxy: error: the following arguments are required: --host/-H, --cert/-c, --token/-t, impl".

How can I set these arguments? Thanks.
 

mew

Cadet
Joined
Jun 20, 2022
Messages
8
can you help me? Thanks :)
If you're comfortable running a somewhat hacky way to get it working you can use the docker-compose app from TrueCharts.

This is my docker-compose.yml file

Code:
version: '2.4'

networks:
  privatenetwork:
    name: privatenetwork
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: 192.168.98.0/24
          gateway: 192.168.98.1

services:
  portainer:
    image: portainer/portainer-ce:latest
    healthcheck:
      disable: true
    deploy:
        resources:
            limits:
              memory: 32768M
            reservations:
              memory: 8192M
    container_name: portainer
    restart: on-failure:5
    security_opt:
      - no-new-privileges:true
    networks:
      - privatenetwork
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /mnt/apps/applications/docker-compose/portainer/data:/data:rw
      - /tmp:/tmp:rw
    ports:
      - "2001:9443"

 

fixer01

Cadet
Joined
Nov 24, 2022
Messages
3
Thanks, I already have TrueCharts on my TrueNAS Scale .. will look into docker-compose. Whish there was also easier way :)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Looks to me like you just need to fill in all the required items in the container CMD ...


unifi-cam-proxy --host {NVR IP} --cert /client.pem --token {Adoption token} rtsp -s rtsp://192.168.201.15:8554/cam'
 
Top