Skip to content

Commit 880b4bc

Browse files
ChrisJBurnsclaude
andcommitted
Move /data directory note to Git repository source section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 826afc7 commit 880b4bc

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

docs/toolhive/guides-registry/configuration.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ options. You can configure multiple registries in a single server instance.
8383

8484
Clone 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"
8795
registries:
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-
209210
Then reference `/secrets/git/token` as the `passwordFile` in your registry
210211
configuration.
211212

0 commit comments

Comments
 (0)