2021-09-10 10:26:11 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: account
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: account
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: account
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: app
|
2022-02-23 16:10:43 +00:00
|
|
|
image: hardcoreeng/account
|
2021-09-10 10:26:11 +00:00
|
|
|
ports:
|
|
|
|
- containerPort: 3000
|
|
|
|
imagePullPolicy: Always
|
|
|
|
env:
|
2021-09-10 15:06:51 +00:00
|
|
|
- name: MONGO_URL
|
2021-10-23 00:05:45 +00:00
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mongodb
|
|
|
|
key: url
|
2022-01-11 09:23:17 +00:00
|
|
|
- name: TRANSACTOR_URL
|
2022-01-12 09:03:12 +00:00
|
|
|
value: wss://transactor.hc.engineering/
|
2022-01-11 09:23:17 +00:00
|
|
|
- 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
|