This commit is contained in:
nihilist 2025-04-21 20:14:14 +02:00
parent f16026e8a1
commit 6a432d0172

View file

@ -1327,7 +1327,7 @@ In my case it's <b>172.17.0.1</b>.
<p> <p>
Now, we'll make Tor listen on this interface with <b>HTTP CONNECT</b> proxy (since Open WebUI search feature doesn't support socks5). Add at the top of <b>/etc/tor/torrc</b> file the following line: Now, we'll make Tor listen on this interface with <b>HTTP CONNECT</b> proxy (since Open WebUI search feature doesn't support socks5). Add at the top of <b>/etc/tor/torrc</b> file the following line:
<pre><code class="nim">HTTPTunnelPort 172.17.0.1:9080</code></pre> <pre><code class="nim">SOCKSPort 172.17.0.1:9050</code></pre>
Remember to replace the IP with the one you got from previous step. Remember to replace the IP with the one you got from previous step.
</p> </p>
@ -1340,7 +1340,7 @@ udp UNCONN 0 0 0.0.0.0:bootpc 0.0.0.0:*
tcp LISTEN 0 4096 127.0.0.1:9050 0.0.0.0:* users:(("tor",pid=1572,fd=6)) tcp LISTEN 0 4096 127.0.0.1:9050 0.0.0.0:* users:(("tor",pid=1572,fd=6))
tcp LISTEN 0 4096 127.0.0.1:3000 0.0.0.0:* users:(("docker-proxy",pid=13793,fd=7)) tcp LISTEN 0 4096 127.0.0.1:3000 0.0.0.0:* users:(("docker-proxy",pid=13793,fd=7))
tcp LISTEN 0 128 0.0.0.0:ssh 0.0.0.0:* users:(("sshd",pid=522,fd=3)) tcp LISTEN 0 128 0.0.0.0:ssh 0.0.0.0:* users:(("sshd",pid=522,fd=3))
tcp LISTEN 0 4096 172.17.0.1:9080 0.0.0.0:* users:(("tor",pid=1572,fd=7)) tcp LISTEN 0 4096 172.17.0.1:9050 0.0.0.0:* users:(("tor",pid=1572,fd=7))
tcp LISTEN 0 4096 127.0.0.1:11434 0.0.0.0:* users:(("docker-proxy",pid=13708,fd=7)) tcp LISTEN 0 4096 127.0.0.1:11434 0.0.0.0:* users:(("docker-proxy",pid=13708,fd=7))
tcp LISTEN 0 128 [::]:ssh [::]:* users:(("sshd",pid=522,fd=4))</code></pre> tcp LISTEN 0 128 [::]:ssh [::]:* users:(("sshd",pid=522,fd=4))</code></pre>
</p> </p>
@ -1360,8 +1360,8 @@ Add 3 <a href="https://docs.openwebui.com/getting-started/env-configuration/#pro
environment: environment:
- 'OLLAMA_BASE_URL=http://ollama:11434' - 'OLLAMA_BASE_URL=http://ollama:11434'
- 'WEBUI_SECRET_KEY=' - 'WEBUI_SECRET_KEY='
- 'HTTP_PROXY=http://host.docker.internal:9080' - 'HTTP_PROXY=socks5://host.docker.internal:9050'
- 'HTTPS_PROXY=http://host.docker.internal:9080' - 'HTTPS_PROXY=socks5://host.docker.internal:9050'
- 'NO_PROXY=ollama' - 'NO_PROXY=ollama'
extra_hosts: extra_hosts:
- host.docker.internal:host-gateway - host.docker.internal:host-gateway