Skip to content

Instantly share code, notes, and snippets.

View tuftkyle's full-sized avatar

Kyle Tuft tuftkyle

View GitHub Profile
@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
# Invoked via Crontab:
# 59 18 * * THU /home/pi/recordPodcast.sh PollockPines 22
TODAY=`date +'%Y-%m-%d'`
HOMEPATH=/home/pi
REGION=$1
MEMORY=$2
SECONDS=90.0