Files
headscale-webui/.devcontainer/devcontainer.json
Marek Pikuła 35dae98e87 Revert "Reverting to 0.6.1"
This reverts commit 2033f80258.

All the changes were introduced in #86. Reference it for full history.
2023-06-04 15:56:29 +00:00

48 lines
1.6 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Headscale WebUI",
"image": "mcr.microsoft.com/devcontainers/python:0-3",
"features": {
"ghcr.io/meaningful-ooo/devcontainer-features/fish:1": {},
"ghcr.io/devcontainers-contrib/features/poetry:2": {
"version": "latest"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip3 install --user -r requirements.txt",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"bungcip.better-toml",
"charliermarsh.ruff",
"github.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"mhutchie.git-graph",
"ms-azuretools.vscode-docker",
"njpwerner.autodocstring",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker"
],
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.venvPath": "${workspaceFolder}/.venv",
"python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
"python.linting.mypyPath": "${workspaceFolder}/.venv/bin/mypy",
"python.linting.mypyEnabled": true,
"python.linting.pylintPath": "${workspaceFolder}/.venv/bin/pylint",
"python.linting.pylintEnabled": true,
}
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}