mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-10-28 12:14:11 +00:00
30 lines
644 B
YAML
30 lines
644 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: webapp
|
|
name: webapp
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: webapp
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: webapp
|
|
spec:
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
containers:
|
|
- env:
|
|
- name: REACT_APP_API_BASE_URL
|
|
value: https://api-server/v1
|
|
- name: NODE_OPTIONS
|
|
value: '--openssl-legacy-provider'
|
|
image: jambonz/webapp:latest
|
|
name: webapp
|
|
ports:
|
|
- containerPort: 3001
|
|
resources: {}
|
|
restartPolicy: Always |