Merge pull request #90 from MealCraft/feautre/make_juntekim_com_better

Feautre/make juntekim com better
This commit is contained in:
Jun-te Kim 2026-03-08 14:34:58 +00:00 committed by GitHub
commit ddca573c3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 71 additions and 0 deletions

View file

@ -100,6 +100,12 @@ const services = [
url: "https://traefik.mealcraft.com/dashboard/",
icon: "📊"
},
{
name: "Kokoro TTS",
description: "Open-source text-to-speech API running locally with an OpenAI-compatible interface",
url: "https://kokoro.juntekim.com/web",
icon: "🔊"
},
];

65
kokoro/kokoro.yaml Normal file
View file

@ -0,0 +1,65 @@
# ================================
# KOKORO-FASTAPI - CPU
# https://github.com/remsky/Kokoro-FastAPI
# ================================
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kokoro
labels:
app: kokoro
spec:
replicas: 1
selector:
matchLabels:
app: kokoro
template:
metadata:
labels:
app: kokoro
spec:
containers:
- name: kokoro
image: ghcr.io/remsky/kokoro-fastapi-cpu:latest
ports:
- containerPort: 8880
resources:
requests:
cpu: "500m"
memory: "1Gi"
limits:
cpu: "2"
memory: "4Gi"
---
apiVersion: v1
kind: Service
metadata:
name: kokoro
spec:
selector:
app: kokoro
ports:
- port: 8880
targetPort: 8880
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: kokoro-ingressroute
spec:
entryPoints:
- websecure
routes:
- match: Host(`kokoro.juntekim.com`)
kind: Rule
services:
- name: kokoro
port: 8880
tls:
certResolver: myresolver
domains:
- main: kokoro.juntekim.com