File tree Expand file tree Collapse file tree
docs/toolhive/guides-registry Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,14 @@ options. You can configure multiple registries in a single server instance.
8383
8484Clone and sync from Git repositories. Ideal for version-controlled registries.
8585
86+ :::note
87+
88+ When the registry server clones a Git repository, it stores the cloned data in a
89+ ` /data` directory. In containerized deployments, mount a volume at `/data` to
90+ persist cloned repositories across restarts and avoid re-cloning on every sync.
91+
92+ :: :
93+
8694` ` ` yaml title="config-git.yaml"
8795registries:
8896 - name: toolhive
@@ -199,13 +207,6 @@ spec:
199207 emptyDir: {}
200208` ` `
201209
202- :::note
203-
204- The `/data` mount path is used by the registry server in order to storage cloned
205- Git repositories.
206-
207- :: :
208-
209210Then reference `/secrets/git/token` as the `passwordFile` in your registry
210211configuration.
211212
You can’t perform that action at this time.
0 commit comments