Installation
Atlas ships as one Docker image, curiosityai/atlas. It runs on any machine with Docker and keeps everything it stores in one folder, which you mount as a volume.
Run the container
docker run -d --name atlas -p 8080:8080 \
-v atlas-data:/data \
-e MSK_GRAPH_STORAGE=/data/atlas \
-e MSK_ADMIN_USER=admin \
-e MSK_ADMIN_EMAIL=you@example.com \
-e MSK_ADMIN_PASSWORD='choose-a-password' \
curiosityai/atlas:latest
| Option | What it does |
|---|---|
-p 8080:8080 |
Atlas listens on port 8080 inside the container. |
-v atlas-data:/data |
The volume that holds the code graph, the indexed revisions, the documents and the settings. |
MSK_GRAPH_STORAGE |
The folder inside the container where Atlas stores everything. Keep it on the volume. |
MSK_ADMIN_USER, MSK_ADMIN_EMAIL, MSK_ADMIN_PASSWORD |
The administrator account created on first start. |
Check that it started:
curl -fsS http://localhost:8080/api/ping
Then open http://localhost:8080 and sign in. The first-run setup is described in Quick start.
Every other setting is a Curiosity Studio setting and works the same way; see Settings.
Indexing C# and Visual Basic
The C# and Visual Basic indexer loads your projects with MSBuild, so it needs the .NET SDK on the server. The image is built without the SDK by default, to stay small; an image built with the build argument INSTALL_DOTNET_SDK=true includes it.
Without the SDK, C# and Visual Basic files are stored, browsable and searchable as text. The indexing run says why they were not indexed.
Sizing
Indexing and search run on the server. A larger codebase needs more memory and disk; each revision you keep adds the files that changed since the revisions already stored, because a file's text is stored once however many revisions hold it.
Set ATLAS_SEMANTIC_INDEX=false on a small server. It turns off the sentence-embedding indexes that semantic search uses; name and text search keep working.
Updating
Pull the new image and start the container again with the same volume:
docker pull curiosityai/atlas:latest
docker rm -f atlas
docker run -d --name atlas -p 8080:8080 -v atlas-data:/data -e MSK_GRAPH_STORAGE=/data/atlas curiosityai/atlas:latest
The code graph and your settings stay in the volume.