Skip to content

Instantly share code, notes, and snippets.

@gngchrs
gngchrs / keybase.md
Last active November 10, 2021 10:23

Keybase proof

I hereby claim:

  • I am gngchrs on github.
  • I am ganga (https://keybase.io/ganga) on keybase.
  • I have a public key ASB7GtPQJQf0r5N4bPu_kANfTtYd0jftXQf1mI92-IM4_go

To claim this, I am signing this object:

@gngchrs
gngchrs / compose.yaml
Last active April 8, 2025 07:31
Ollama Web UI and Tailscale with https. The config file below goes in your config/config.json. Once you have these files do `docker compose up` and go to `https://ollama-ui.<tailnet>.ts.net. First request will take a little longer to load`
services:
ts-ollama-ui:
image: tailscale/tailscale:latest
container_name: ts-ollama-ui
hostname: ollama-ui # http://ollama-ui.<tailnet>.ts.net
extra_hosts:
- "host.docker.internal:host-gateway" # important for ollama web ui to communicate with ollama running locally
environment:
- TS_AUTHKEY=<YOUR_OAUTH_KEY / YOUR_AUTH_KEY >
- "TS_EXTRA_ARGS=--advertise-tags=tag:container --reset" ## only needed if you use YOUR_OAUTH_KEY with owner tags