31 lines
672 B
YAML
31 lines
672 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: safeshare-frontend
|
|
labels:
|
|
app: safeshare
|
|
tier: frontend
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: safeshare
|
|
tier: frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: safeshare
|
|
tier: frontend
|
|
spec:
|
|
containers:
|
|
- name: safeshare-frontend
|
|
image: itsmexrando/safeshare-frontend:latest
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
- name: REACT_APP_API_HOST
|
|
value: safeshare-backend-service
|
|
- name: REACT_APP_API_PORT
|
|
value: "80"
|
|
ports:
|
|
- containerPort: 80
|