aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14+8 −6
1 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index 2db136f..5e09b9b 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ platforms but aren't ready to host complex services like Forgejo.
a repository by pushing to its name for the first time.
- Repository browsing, archives, LFS downloads, and smart HTTP fetches are
anonymous and read-only; every repository is publicly visible.
-- Password authentication, shells, forwarding, and tunnels are disabled; content
+- Password authentication, shells, forwarding, and tunnels are disabled; cgit
filters are not supported. Optional unauthenticated HTTP writes must be
enabled explicitly.
- Gilti is a single-replica service backed by one POSIX persistent volume. It is
@@ -44,9 +44,10 @@ docker run --rm \
The HTTP configuration is read from the environment at startup:
-- `GILTI_ROOT_TITLE` (default: `Gilti`);
-- `GILTI_ROOT_DESCRIPTION` (default: `A tiny Git server`);
-- `GILTI_CLONE_PREFIX` (empty by default);
+- `GILTI_CGIT_ROOT_TITLE` (default: `Gilti`);
+- `GILTI_CGIT_ROOT_DESCRIPTION` (default: `A tiny Git server`);
+- `GILTI_CGIT_CLONE_PREFIX` (empty by default);
+- `GILTI_CGIT_CACHE` (default: `5`, maximum: `3600` seconds);
- `GILTI_HTTP_WRITE` (`0` by default; `1` enables unauthenticated HTTP pushes and LFS uploads).
Gilti snapshots the authorized keys file at process startup; changing it takes
@@ -67,7 +68,7 @@ ssh:
helm upgrade --install gilti ./charts/gilti \
--namespace gilti --create-namespace \
--values values.yaml \
- --set web.clonePrefix='ssh://git@git.dimidiumlabs.io/'
+ --set cgit.clonePrefix='ssh://git@vcs.dimidiumlabs.io/'
```
See [`charts/gilti/README.md`](charts/gilti/README.md) for persistence, routing,
@@ -75,9 +76,10 @@ and public-repository configuration.
## Development
-Provision tools and run static checks:
+Initialize the Git source used to build cgit, provision tools, and run static checks:
```console
+git submodule update --init
mise bootstrap
cargo fmt -- --check
cargo test --locked