devcontainer

This commit is contained in:
Kevin Adametz 2026-05-05 12:43:38 +02:00
parent 4bb89aad8c
commit 3f3a81a21c

View file

@ -31,8 +31,12 @@
"LARAVEL_SAIL": "1"
},
"mounts": [
"source=${localWorkspaceFolder},target=/var/www/html,type=bind,consistency=cached"
"source=${localWorkspaceFolder},target=/var/www/html,type=bind,consistency=cached",
"source=/Users/pandora/Library/Mobile Documents/iCloud~md~obsidian/Documents/DEV-Vault/b2in,target=/var/www/html/docs,type=bind",
"source=/Users/pandora/.forgejo_token,target=/tmp/.forgejo_token,type=bind,readonly",
"source=/Users/pandora/.ssh,target=/home/sail/.ssh,type=bind,readonly"
],
"postCreateCommand": "mkdir -p ~/.local/bin && curl -L https://gitea.com/gitea/tea/releases/download/v0.14.0/tea-0.14.0-linux-arm64 -o ~/.local/bin/tea && chmod +x ~/.local/bin/tea && echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.bashrc && ~/.local/bin/tea login add --name 'gitmedia' --url 'https://git.adametz.media' --token $(cat /tmp/.forgejo_token)",
// WICHTIG: Nur noch die beiden Vite-Ports weiterleiten
"forwardPorts": [
5174,
@ -48,4 +52,4 @@
"onAutoForward": "notify"
}
}
}
}