appdaemon/.devcontainer/devcontainer.json

57 lines
1.8 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/docker-existing-dockerfile
{
"name": "appdaemon-dev",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "Dockerfile",
"args": {
"PYTHON_RELEASE": "3.13" // This overrides the default of 3.12
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
//"forwardPorts": ["4949:4949"],
"appPort": [ "4949:4949" ],
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "cat /etc/os-release",
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/production/,target=/conf,type=bind,consistency=cached"
],
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"njpwerner.autodocstring",
//"ms-python.black-formatter",
//"ms-python.isort",
"shd101wyy.markdown-preview-enhanced",
//"ms-python.pylint",
"DavidAnson.vscode-markdownlint",
"ms-python.debugpy",
"njqdev.vscode-python-typehint",
"charliermarsh.ruff",
"ms-python.vscode-pylance",
"lkytal.quicktask",
"ms-azuretools.vscode-docker",
"github.vscode-github-actions",
"eamodio.gitlens",
"Gruntfuggly.todo-tree",
"tamasfe.even-better-toml"
]
}
}
}