Initialize Compose Launcher source and deployment

This commit is contained in:
tongtong committed 2026-11-26 02:34:19 +08:00
commit 12a8c24441
77 files changed
+9594

No files matched your search

+95
View File
@@ -0,0 +1,95 @@
apiVersion: v1
kind: Namespace
metadata:
name: vibe-launcher
labels:
name: vibe-launcher
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: vibe-launcher-backend
namespace: vibe-launcher
labels:
app: vibe-launcher-backend
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: vibe-launcher-backend
template:
metadata:
labels:
app: vibe-launcher-backend
spec:
containers:
- name: server
image: docker.io/library/vibe-launcher-backend:1.1.0-deploy3
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: TZ
value: Asia/Shanghai
- name: HOST
value: 0.0.0.0
- name: PORT
value: "8080"
- name: LAYOUT_DB
value: /data/layouts.sqlite
envFrom:
- secretRef:
name: vibe-launcher-auth
volumeMounts:
- name: data
mountPath: /data
resources:
requests:
cpu: 100m
memory: 192Mi
limits:
cpu: 750m
memory: 384Mi
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 5
volumes:
- name: data
hostPath:
path: /opt/vibe-launcher/data
type: DirectoryOrCreate
---
apiVersion: v1
kind: Service
metadata:
name: vibe-launcher-backend
namespace: vibe-launcher
labels:
app: vibe-launcher-backend
spec:
type: NodePort
selector:
app: vibe-launcher-backend
ports:
- name: http
port: 8080
targetPort: http
nodePort: 30830
protocol: TCP