Skip to content

Deploying to Synology and Unraid

Neil Enns edited this page Jun 18, 2020 · 13 revisions

The Docker image used to process results from DeepStack.ai can be installed on systems like Synology or Unraid that support loading images from Docker Hub. The configuration is a more manual process than simply using docker-compose.yml but it does work. It also assumes you already have Deepstack AI running (perhaps as another Docker container on the Synology or Unraid server).

  1. Download the node-deepstackai-trigger:latest image
  2. Configure a container using the image with the correct environment variables and volume mounts

To simplify communication between this image and the Deepstack AI image it is highly recommended to run the two containers together in the same stack.

Required environment variables

The following environment variables must be configured on the container:

Environment variable Description Example
TZ The timezone of the local machine. A list of valid timezones is available on Wikipedia. Use any value from the TZ database name column. America/Los_Angeles

Required volume mounts

The following volumes must be mounted:

Container mount point Description Example
/aiinput The folder that contains the images to analyze. ./docker/aiinput:/aiinput
/config The folder that contains settings.json and triggers.json. ./docker/aiconfig:/config

Optional volume mounts

The following volumes are optional:

Container mount point Description Example
/node-deepstackai-trigger A folder for temporary storage of annotated images. localtriggerstorage:/node-deepstackai-trigger