platform/pods/account/kube/deployment.yml
Andrey Sobolev 1b9a5e0395
Enable hardcoreeng docker hub (#1048)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-02-23 23:10:43 +07:00

44 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: account
spec:
replicas: 1
selector:
matchLabels:
app: account
template:
metadata:
labels:
app: account
spec:
containers:
- name: app
image: hardcoreeng/account
ports:
- containerPort: 3000
imagePullPolicy: Always
env:
- name: MONGO_URL
valueFrom:
secretKeyRef:
name: mongodb
key: url
- name: TRANSACTOR_URL
value: wss://transactor.hc.engineering/
- 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