summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
blob: 3f8c4c81a8b0203faf08493389829007f3d63af7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "build": {
    "dockerfile": "Dockerfile"
  },
  "features": {
    "ghcr.io/devcontainers/features/github-cli": {}
  },
  "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"
}