Skip to content

Instantly share code, notes, and snippets.

View sirkirby's full-sized avatar
:octocat:

Chris Kirby sirkirby

:octocat:
View GitHub Profile
@sirkirby
sirkirby / continue-lmstudio.json
Last active February 14, 2024 17:50
Continue extension lmstudio config
{
"title": "Mixtral",
"provider": "lmstudio",
"model": "mixtral-8x7b"
}
@sirkirby
sirkirby / cloudflare-tunnel-ingress-config.yml
Created October 12, 2023 14:40
cloudflare tunnel ingress config
ingress:
# plex media server
- hostname: plex.mydomain.net
service: https://192.168.1.20:32400
@sirkirby
sirkirby / cloudflare-tunnel-config.yml
Created October 12, 2023 14:39
cloudflare tunnel config
tunnel: fd1f3bb2-ca6d-4807-9e60-b5b6834d060e
credentials-file: fd1f3bb2-ca6d-4807-9e60-b5b6834d060e.json
originRequest: # Root-level configuration
connectTimeout: 30s
noTLSVerify: true
@sirkirby
sirkirby / cloudflare-tunnel-install.sh
Created October 12, 2023 14:32
cloudflare tunnel install
# manual package install
wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64.deb dpkg -i cloudflared-linux-arm64.deb
@sirkirby
sirkirby / pi-hole-helm-values.yml
Last active October 31, 2023 19:02
pi-hole helm values
# will create kubernees ingress
ingress:
enabled: true
hosts:
- pihole-k3s.mylocaldomain.org
# will create kubernetes services for web admin
serviceWeb:
loadBalancerIP: 192.168.1.100
type: ClusterIP
@sirkirby
sirkirby / pi-hole-helm-values-pvc.yml
Created October 6, 2023 16:56
pi-hole helm values pvc
# if using longhorn distributed block storage https://longhorn.io/docs
# pi-hole will automatially create a new
# persistent volume managed by longhorn
persistentVolumeClaim:
enabled: true
storageClass: "longhorn"
@sirkirby
sirkirby / pi-hole-helm-values-doh.yml
Created October 6, 2023 16:40
pi-hole helm values doh
# enables cloudflare tunnel sidecar container
# and sets upstream dns in pihole to leverage it
doh:
enabled: true
pullPolicy: Always
envVars: {
DOH_UPSTREAM: "https://1.1.1.1/dns-query"
}
@sirkirby
sirkirby / pi-hole-helm-values-dns.yml
Created October 6, 2023 16:34
pi-hole helm values dns
# create a kubernetes service and expose
# port 53 outside of cluster on the local network
serviceDns:
loadBalancerIP: 192.168.1.100
type: LoadBalancer
@sirkirby
sirkirby / pi-hole-helm-values-web.yml
Last active October 31, 2023 19:00
pi-hole helm values web
# these values will set our ingress proxy and allow us to point
# pihole-k3s.mylocaldomain.org DNS record to 192.168.100
# will create kubernees ingress
ingress:
enabled: true
hosts:
- pihole-k3s.mylocaldomain.org
# will create kubernetes services
@sirkirby
sirkirby / pi-hole-helm-chart.sh
Created October 6, 2023 15:35
pi-hole helm chart
# add the repo locally and update to pull the available charts
helm repo add mojo2600 https://mojo2600.github.io/pihole-kubernetes/
helm repo update