@ -129,6 +129,8 @@ start_container_if_needed() {
|
|||||||
-v "/mnt/private/workspaces-data/public/$WORKSPACE:/app/public" \
|
-v "/mnt/private/workspaces-data/public/$WORKSPACE:/app/public" \
|
||||||
-v "/mnt/private/workspaces-data/private/$WORKSPACE:/app/private" \
|
-v "/mnt/private/workspaces-data/private/$WORKSPACE:/app/private" \
|
||||||
-v "$HOME/secrets/$WORKSPACE/gitconfig:/home/$DEV_USER/.gitconfig:ro,Z" \
|
-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" \
|
||||||
--entrypoint "/home/$DEV_USER/start.sh" \
|
--entrypoint "/home/$DEV_USER/start.sh" \
|
||||||
"$IMAGE" "$TMUX_SESSION"
|
"$IMAGE" "$TMUX_SESSION"
|
||||||
elif ! podman inspect -f '{{.State.Running}}' "$WORKSPACE" | grep -q true; then
|
elif ! podman inspect -f '{{.State.Running}}' "$WORKSPACE" | grep -q true; then
|
||||||
|
Reference in New Issue
Block a user