Linux (x64 or ARM) and Windows Gateway

Download the correct version of the ONVIF Uplink Gateway package from here.

Linux

  1. Unzip the package and run ./docker_install.sh script

  2. Create the access tokens:

    1. Log in to the web client and go to the Cameras page

    2. Click Add camera > Uplink

    3. Enter the camera name, camera Onvif username, and password and click Apply

    4. Copy and save the access token to the file (see step 3).

  3. Create and configure your environment variable files:

    access_tokens.env

    CODE
    ACCESS_TOKEN_1=eyJjYW1pZCI6IDEyMzQ1NiwgInVwbGluayI6ICJkZXYtYXBpLnByb3h5LmNsb3VkLXZtcy5jb20ifQo=
    ACCESS_TOKEN_2=eyJjYW1pZCI6IDEyMzQ1NiwgInVwbGluayI6ICJkZXYtYXBpLnByb3h5LmNsb3VkLXZtcy5jb20ifQo=
    ...

    This file contains access tokens for each camera. You can include up to 16 access tokens. Each token should be in a separate line.

    cameras.env

    CODE
    CAMERA_IP_ADDRESS_1=192.168.2.14
    CAMERA_RTSP_PORT_1=554
    CAMERA_HTTP_PORT_1=80
    CAMERA_IP_ADDRESS_2=192.168.2.16
    CAMERA_RTSP_PORT_2=554
    CAMERA_HTTP_PORT_2=80
    ...

    This file contains IP addresses, RTSP and HTTP ports for cameras (up to 16). Each parameter should be on a separate line. RTSP and HTTP ports are optional and if you skip them then the default ports will be used (RTSP: 554, HTTP: 80).

  4. Run ./start.sh script – the cameras should start streaming and you should see the live video in the web client.

  5. You can check the status and logs of the container by using the following commands

    CODE
    docker ps
    docker logs <container-id>

Windows

  1. Install WSL2 on your Windows device: https://learn.microsoft.com/en-us/windows/wsl/install

  2. Install Docker Desktop on Windows device: https://docs.docker.com/desktop/install/windows-install/

  3. Open your WSL terminal in Windows and navigate to the directory where you extracted the gateway package. Continue with the same steps as in the Linux section.

Shopping Cart
Scroll to Top