Expanded solutions (10 new industries) and products (Compliance & Data section) to cover full docs.lux.financial capability surface.
79 lines
2.0 KiB
YAML
79 lines
2.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: hanzo-cloud-web
|
|
namespace: bootnode
|
|
labels:
|
|
app: hanzo-cloud-web
|
|
component: frontend
|
|
brand: hanzo
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: hanzo-cloud-web
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hanzo-cloud-web
|
|
component: frontend
|
|
brand: hanzo
|
|
spec:
|
|
containers:
|
|
- name: web
|
|
image: ghcr.io/bootnode/bootnode:web-latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- name: http
|
|
containerPort: 3001
|
|
protocol: TCP
|
|
env:
|
|
- name: NODE_ENV
|
|
value: production
|
|
- name: NEXT_PUBLIC_BRAND
|
|
value: hanzo
|
|
- name: NEXT_PUBLIC_API_URL
|
|
value: https://api.cloud.hanzo.network
|
|
- name: NEXT_PUBLIC_WS_URL
|
|
value: wss://ws.cloud.hanzo.network
|
|
- name: NEXT_PUBLIC_IAM_URL
|
|
value: https://id.hanzo.network
|
|
- name: NEXT_PUBLIC_IAM_CLIENT_ID
|
|
value: hanzo-cloud
|
|
- name: NEXT_PUBLIC_IAM_DOMAIN
|
|
value: id.hanzo.network
|
|
- name: NEXT_PUBLIC_AUTH_MODE
|
|
value: iam
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1001
|
|
allowPrivilegeEscalation: false
|