mirror of
https://github.com/Dasemu/remote-mcp-manager.git
synced 2026-11-28 00:07:08 +00:00
fix: enable git-over-ssh cloning for private repo installs
The manager image had git but not openssh-client, so ssh:// clones
failed outright ("cannot run ssh"). Install openssh-client, and mount
an SSH_DIR (key + known_hosts) into the container read-only so private
repos can actually authenticate — confirmed both gaps while deploying
against real private Zenvairo repos.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
359d4369e8
commit
223b1ab8eb
4 files changed
+18
-1
No files matched your search
@@ -18,6 +18,10 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./data:/repo/data
|
||||
# Reuses the host's own SSH key/known_hosts so the manager can `git clone` private
|
||||
# repos over ssh:// the same way the host itself already does. Read-only.
|
||||
# SSH_DIR must be an absolute path (compose doesn't expand "~").
|
||||
- ${SSH_DIR}:/root/.ssh:ro
|
||||
networks:
|
||||
- mcp-net
|
||||
|
||||
|
||||
Reference in new issue
Block a user