mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
Subdomain routing (mpc.lux.network/v1/) not path prefix (/api/v1/). Updated: server routes, KMS routes, main.go forwarding, compose, K8s dashboard config, ingressroute, landing page HTML.
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: mpc-dashboard
|
|
namespace: lux-mpc
|
|
labels:
|
|
app: mpc-dashboard
|
|
app.kubernetes.io/part-of: lux-mpc
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: mpc-dashboard
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: mpc-dashboard
|
|
app.kubernetes.io/part-of: lux-mpc
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: registry-hanzo
|
|
containers:
|
|
- name: dashboard
|
|
image: ghcr.io/luxfi/mpc-dashboard:latest
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
env:
|
|
- name: NEXT_PUBLIC_API_URL
|
|
value: "https://mpc.lux.network/v1"
|
|
- name: NEXT_PUBLIC_IAM_URL
|
|
value: "https://lux.id"
|
|
- name: NEXT_PUBLIC_IAM_CLIENT_ID
|
|
value: "lux-mpc"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|