Skip to main content

MongoDB

MongoDB is the recommended database for Komodo. It stores all resource configuration, user accounts, audit logs, and system state. Komodo Core communicates with it directly using the MongoDB driver.

Quick Start

  1. Copy komodo/mongo.compose.yaml and komodo/compose.env to your host:
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/mongo.compose.yaml && \
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env
  1. Edit the variables in komodo/compose.env.
  2. Deploy using command:
docker compose -p komodo -f komodo/mongo.compose.yaml --env-file komodo/compose.env up -d
https://github.com/moghtech/komodo/blob/main/compose/mongo.compose.yaml