Skip to content

Instantly share code, notes, and snippets.

@iamtalhaasghar
Created December 7, 2025 14:41
Show Gist options
  • Select an option

  • Save iamtalhaasghar/c0aa826b180f6a946499f8d997049d7a to your computer and use it in GitHub Desktop.

Select an option

Save iamtalhaasghar/c0aa826b180f6a946499f8d997049d7a to your computer and use it in GitHub Desktop.
Run open webui with ollama inside docker container on a server which is behind some proxy and can not connect to internet directly.
docker run -d -p 3000:8080 -e HTTPS_PROXY=http://192.168.10.33:7766 -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment