devcontainer.json 906 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "build": {
  3. "dockerfile": "Dockerfile"
  4. },
  5. "features": {
  6. "ghcr.io/devcontainers/features/github-cli": {},
  7. "ghcr.io/devcontainers/features/docker-in-docker": {}
  8. },
  9. "customizations": {
  10. "vscode": {
  11. "extensions": [
  12. "ms-python.python",
  13. "ms-azuretools.vscode-docker"
  14. ],
  15. "remote.otherPortsAttributes": {
  16. "protocol": "https"
  17. },
  18. "settings": {
  19. "files.autoSave": "off",
  20. "python.defaultInterpreterPath": "/workspaces/searxng/local/py3/bin/python3",
  21. "python.formatting.blackPath": "/workspaces/searxng/local/py3/bin/black",
  22. "python.linting.pylintPath": "/workspaces/searxng/local/py3/bin/pylint"
  23. }
  24. }
  25. },
  26. "forwardPorts": [8000, 8888],
  27. "portsAttributes": {
  28. "8000": {"label": "Sphinx documentation"},
  29. "8888": {"label": "SearXNG"}
  30. },
  31. "postCreateCommand": "git pull && make install"
  32. }