Skip to main content

ChromaDB - TrueNAS Setup

Installing ChromaDB on TrueNAS is pretty straighforward with the Custom App menu.

Table Of Contents
#

Create A Dataset
#

First create a Dataset to store the database. In the TrueNAS web interface, you can do that by:

  • Clicking on the Datasets tab
  • Navigate to the location you want the dataset to be
    • As an example, if I want mine at: SSD/apps/data/chromadb
    • I would select: SSD/apps/data
  • Click Add Dataset in the top right corner.
  • Give it a name and choose the Apps preset from the dropdown menu.
  • Click Save

Installing ChromaDB
#

From the Apps tab of the TrueNAS web interface, click on Discover Apps and then Custom App then use the following options:

  • Application Name: chromadb-server
  • Repository: chromadb/chroma
  • Tag: latest
  • Hostname: chromadb-server
  • Restart Policy: Unless Stopped
  • Custom User: Checked / Yes
    • User ID: 568
    • Group ID: 568
  • Ports: Click Add
    • Port Bind Mode: Publish port on the host for external access
    • Host Port: Choose a port, write it down, it will be needed to access the database
    • Container Port: 8000
    • Protocol: TCP
  • Storage Configuration: Click Add
    • Type: Host Path
    • Mount Path: /data
    • Host Path: Use the dropdown menu to navigate to the dataset you created earlier, or type it in
  • Scroll down and click Install

For Insightful Search#

If you have been following my recommended order, this should be the last thing you need to install. Now you just need to configure Node-RED and RocketChat so they can communicate with each other and Insightful Search:

If you still need to install some of the other apps / services, use the links below: