| 1 | # knot-git server configuration options |
| 2 | command_user="git:git" # user:group (has to run as "git" to prevent "fatal: detected dubious ownership") |
| 3 | directory="/var/lib/git" |
| 4 | supervisor="supervise-daemon" |
| 5 | error_log="/var/log/knot-git.log" |
| 6 | |
| 7 | # Environment variabless |
| 8 | #export KNOT_SERVER_DEV="" # default: false |
| 9 | #export KNOT_SERVER_LISTEN_ADDR="" # default: 0.0.0.0:5555 |
| 10 | #export KNOT_SERVER_INTERNAL_LISTEN_ADDR="" # default: 127.0.0.1:5444 |
| 11 | |
| 12 | export KNOT_SERVER_DB_PATH="$directory/knotserver.db" |
| 13 | export KNOT_SERVER_HOSTNAME="" # required (knot.domain.com) |
| 14 | export KNOT_SERVER_OWNER="" # required (did:plc:foobar) |
| 15 | #export KNOT_SERVER_LOG_DIDS="" # default: true |
| 16 | |
| 17 | export KNOT_REPO_SCAN_PATH="$directory/repositories" # has to keep it under "git" rights |
| 18 | #export KNOT_REPO_MAIN_BRANCH="" # default: main |
| 19 | |
| 20 | #export KNOT_GIT_USER_NAME="" # default: Tangled |
| 21 | #export KNOT_GIT_USER_EMAIL="" # default: [email protected] |