2021-08-28 23:31:45 +03:00
|
|
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: front
|
|
|
|
spec:
|
2021-08-29 00:28:46 +03:00
|
|
|
replicas: 1
|
2021-08-28 23:31:45 +03:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: front
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: front
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: app
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/front
|
2021-08-28 23:31:45 +03:00
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
imagePullPolicy: Always
|
2021-10-25 18:11:48 +03:00
|
|
|
env:
|
2021-11-22 14:17:10 +03:00
|
|
|
- name: ACCOUNTS_URL
|
|
|
|
value: https://account.hc.engineering/
|
2022-11-02 11:50:14 +03:00
|
|
|
- name: COLLABORATOR_URL
|
|
|
|
value: https://collaborator.hc.engineering/
|
2021-11-22 14:17:10 +03:00
|
|
|
- name: UPLOAD_URL
|
|
|
|
value: /files
|
2021-10-25 18:11:48 +03:00
|
|
|
- name: TRANSACTOR_URL
|
2022-01-12 12:03:12 +03:00
|
|
|
value: wss://transactor.hc.engineering/
|
2022-02-22 12:09:13 +03:00
|
|
|
- name: FRONT_URL
|
|
|
|
value: https://front.hc.engineering/
|
2022-01-12 12:03:12 +03:00
|
|
|
- name: GMAIL_URL
|
|
|
|
value: gmail.hc.engineering
|
2021-10-25 18:11:48 +03:00
|
|
|
- name: ELASTIC_URL
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: elastic
|
|
|
|
key: url
|
|
|
|
- name: MINIO_ENDPOINT
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: minio
|
|
|
|
key: endpoint
|
|
|
|
- name: MINIO_ACCESS_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: minio
|
|
|
|
key: accessKey
|
|
|
|
- name: MINIO_SECRET_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: minio
|
|
|
|
key: secretKey
|
2021-08-28 23:31:45 +03:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: front
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: front
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: 8080
|