added kokoro
This commit is contained in:
parent
78507d3f74
commit
e337dc4d37
2 changed files with 71 additions and 0 deletions
|
|
@ -100,6 +100,12 @@ const services = [
|
||||||
url: "https://traefik.mealcraft.com/dashboard/",
|
url: "https://traefik.mealcraft.com/dashboard/",
|
||||||
icon: "📊"
|
icon: "📊"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Kokoro TTS",
|
||||||
|
description: "Open-source text-to-speech API running locally with an OpenAI-compatible interface",
|
||||||
|
url: "https://kokoro.juntekim.com",
|
||||||
|
icon: "🔊"
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
65
kokoro/kokoro.yaml
Normal file
65
kokoro/kokoro.yaml
Normal 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.io/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
|
||||||
Loading…
Add table
Reference in a new issue