Skip to content

01. Getting Started

Daniel Berki edited this page Feb 16, 2024 · 19 revisions

Message Silo comes with a dedicated CLI tool called siloctl.

Download siloctl

  1. Download the version corresponding to your OS into a folder.
OS Link
Windows Download
Linux Download
MacOS Download
  1. Add the folder where siloctl downloaded into the PATH environment variable.

  2. Ensure siloctl is working.

siloctl --version

Message Silo Service

You are able to run Message Silo services in your own hardware via Docker containers.

Quick Start

docker run -d --name some-silo -p 5000:8080 messagesilo/messagesilo:latest

Database Support

Message Silo supports data persistence to the database for entities, ensuring that data remains accessible even after a possible restart. MongoDB is used for this purpose to provide robust and reliable data storage.

  1. Create the following docker-compose file
version: '3.8'

services:
  messagesilo:
    image: messagesilo/messagesilo
    ports:
      - "5000:8080"
    environment:
      DATABASE_CONNECTION_STRING: "mongodb://database:27017" # MongoDB connection string (You can use Atlas instead).
      DATABASE_NAME: "messagesilo-local"                    # The name of the MongoDB database what Message Silo uses.
      AI_API_KEY: ""                                         # (Optional) OpenAI API key (if you would like to use AI type enricher entity).
    depends_on:
      - database

  database:
    image: mongo:6-jammy
    ports:
      - "27017:27017"
    volumes: 
      - ~/mongo/data:/data/db
  1. Start Message Silo services
docker-compse up

Continue learning about Message Silo & siloctl in the next section: Entities & Concepts