From dd0cefd6c9d252682e2b039d394a114a30d3370c Mon Sep 17 00:00:00 2001 From: Pallav Vasa Date: Wed, 21 May 2025 11:23:51 +0000 Subject: [PATCH] feat: split data into public and private enable working with shared podman socket --- ssh_router.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssh_router.sh b/ssh_router.sh index 5cb98ba..306f81a 100644 --- a/ssh_router.sh +++ b/ssh_router.sh @@ -124,7 +124,8 @@ start_container_if_needed() { --user "$DEV_USER" \ --hostname "$WORKSPACE" \ --label auto-cleanup=true \ - -v "$HOME/data/$WORKSPACE:/app:Z" \ + -v "/mnt/private/workspaces-data/public/$WORKSPACE:/app/public" \ + -v "/mnt/private/workspaces-data/private/$WORKSPACE:/app/private" \ -v "$HOME/secrets/$WORKSPACE/gitconfig:/home/$DEV_USER/.gitconfig:ro,Z" \ -v "$HOME/secrets/$WORKSPACE/id_ed25519:/home/$DEV_USER/.ssh/id_ed25519:ro,Z" \ -v "$HOME/secrets/$WORKSPACE/id_ed25519.pub:/home/$DEV_USER/.ssh/id_ed25519.pub:ro,Z" \