searxng/.devcontainer/devcontainer.json
2023-10-30 15:26:05 +00:00

42 lines
No EOL
854 B
JSON

{
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"docker-in-docker": {
"version": "latest",
"moby": true,
"dockerDashComposeVersion": "v1"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-azuretools.vscode-docker"
],
"remote.otherPortsAttributes": {
"protocol": "https"
},
"settings": {
"files.autoSave": "off",
"python.defaultInterpreterPath": "/workspaces/searxng/local/py3/bin/python3",
"python.formatting.blackPath": "/workspaces/searxng/local/py3/bin/black",
"python.linting.pylintPath": "/workspaces/searxng/local/py3/bin/pylint"
}
}
},
"forwardPorts": [
8000,
8888
],
"portsAttributes": {
"8000": {
"label": "Sphinx documentation"
},
"8888": {
"label": "SearXNG"
}
},
"postCreateCommand": "git pull && make install"
}