Files
docs/.devcontainer/devcontainer.json
Christian König 0469094374 Add serve command and forward port 8000
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-23 21:08:06 +00:00

27 lines
726 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=/home/${localEnv:USER}/.ssh,target=/home/node/.ssh,readonly"
],
"forwardPorts": [8000]
}