knot-server 0.2.6

Distributed REST API server for knot codebase indexing. Manages Git repositories across a cluster with shared workspace coordination.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copy this file to .env and adjust the values for your environment.
#
# docker compose reads .env automatically — no need to prefix variables on the
# command line once this file is in place.

# Directory on the host whose repositories you want to index by local path.
# The directory is mounted read-only at the same absolute path inside the
# container so paths you pass to the API (e.g. POST /api/repos with a local
# URL) resolve transparently.
#
# Example: set this to the root of your workspace so that
#   /home/you/workspace/myrepo  works as a repo URL.
KNOT_LOCAL_REPOS_DIR=/home/user/workspace

# (Optional) Override the SSH keys directory.  Defaults to ~/.ssh when unset.
# KNOT_SSH_KEYS_DIR=/path/to/your/ssh/keys