mirror of
https://github.com/pi-hole/docs.git
synced 2026-04-26 03:37:55 +01:00
25
.devcontainer/devcontainer.json
Normal file
25
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user