diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3f8c4c81a..ba728635b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,31 +1,42 @@ { - "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" -} + "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" +} \ No newline at end of file diff --git a/utils/brand.env b/utils/brand.env index 31afce53c..08e94c02e 100644 --- a/utils/brand.env +++ b/utils/brand.env @@ -1,5 +1,5 @@ export SEARXNG_URL='' export SEARXNG_PORT='8888' export SEARXNG_BIND_ADDRESS='127.0.0.1' -export GIT_URL='https://github.com/searxng/searxng' +export GIT_URL='https://github.com/kvan7/searxng' export GIT_BRANCH='master'