feat(mudcraft): add mudcraft-core deployment, service, secrets, ingress; fix voicechat domain to play.mudcraft.org

This commit is contained in:
Will Anderson
2026-03-31 22:46:09 -05:00
parent 33bf2c7819
commit 04c65ec908
5 changed files with 133 additions and 1 deletions
@@ -0,0 +1,64 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mudcraft-core
namespace: mudcraft
labels:
app: mudcraft-core
spec:
replicas: 1
selector:
matchLabels:
app: mudcraft-core
template:
metadata:
labels:
app: mudcraft-core
spec:
containers:
- name: mudcraft-core
image: registry.neuralplatform.ai/mudcraft/core:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: DB_URL
value: "jdbc:postgresql://postgres-postgresql.platform.svc.cluster.local:5432/mudcraft"
- name: DB_USER
value: "mudcraft"
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: mudcraft-core-secrets
key: db-password
- name: JWT_SECRET
valueFrom:
secretKeyRef:
name: mudcraft-core-secrets
key: jwt-secret
- name: PLUGIN_API_KEY
valueFrom:
secretKeyRef:
name: mudcraft-core-secrets
key: plugin-api-key
readinessProbe:
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 5
livenessProbe:
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 3
resources:
requests:
memory: 512Mi
cpu: 250m
limits:
memory: 1Gi
cpu: 1000m