ae5ac35058
- Add Dockerfile with adapter-node for server deployment - Add Kubernetes deployment and ingress manifests - Add GitHub Actions workflow (server build, desktop builds, K8s deploy) - Electron now loads hosted URL (https://optima.osdci.net) in production - Add macOS DMG maker and make:macos script - Switch to static imports in lib/index.ts - Add .dockerignore
31 lines
706 B
YAML
31 lines
706 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: optima-ui
|
|
namespace: optima
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: optima-ui
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: optima-ui
|
|
spec:
|
|
containers:
|
|
- name: optima-ui
|
|
image: ghcr.io/project-optima/ttscm-ui:latest
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: PUBLIC_API_URL
|
|
value: "https://opt-api.osdci.net"
|
|
- name: ORIGIN
|
|
value: "https://optima.osdci.net"
|
|
- name: PORT
|
|
value: "3000"
|
|
ports:
|
|
- containerPort: 3000
|
|
imagePullSecrets:
|
|
- name: github-container-registry
|