Merge pull request #90 from MealCraft/feautre/make_juntekim_com_better
Feautre/make juntekim com better
This commit is contained in:
commit
ddca573c3c
2 changed files with 71 additions and 0 deletions
|
|
@ -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
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.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
|
||||
Loading…
Add table
Reference in a new issue