mirror of
https://github.com/pi-hole/docs.git
synced 2025-12-24 13:18:55 +00:00
See https://github.com/pi-hole/FTL/pull/2152 for similar Signed-off-by: Adam Warner <me@adamwarner.co.uk>
27 lines
720 B
JSON
27 lines
720 B
JSON
{
|
|
"name": "Pi-hole doc devcontainer",
|
|
"dockerFile": "Dockerfile",
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "sh .devcontainer/post-create.sh",
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": [
|
|
"eamodio.gitlens",
|
|
"EditorConfig.EditorConfig",
|
|
"github.vscode-github-actions",
|
|
"DavidAnson.vscode-markdownlint"
|
|
|
|
]
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"GIT_EDITOR": "nano"
|
|
},
|
|
"mounts": [
|
|
"type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly"
|
|
],
|
|
"forwardPorts": [8000]
|
|
}
|