-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaana-q-lambda-server-db-deployment.yaml
46 lines (46 loc) · 1.27 KB
/
maana-q-lambda-server-db-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose-prod.yml
kompose.version: 1.20.0 (f3d54d784)
creationTimestamp: null
labels:
io.kompose.service: maana-q-lambda-server-db
name: maana-q-lambda-server-db
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose-prod.yml
kompose.version: 1.20.0 (f3d54d784)
creationTimestamp: null
labels:
io.kompose.network/net: "true"
io.kompose.service: maana-q-lambda-server-db
spec:
containers:
- env:
- name: MONGODB_DATABASE
value: graphqlYoga
- name: MONGODB_PASSWORD
value: yoga123
- name: MONGODB_USERNAME
value: graphql
image: bitnami/mongodb:latest
name: maana-q-lambda-server-db
ports:
- containerPort: 27017
resources: {}
volumeMounts:
- mountPath: /data/maana-q-lambda-server-db
name: maana-q-lambda-server-db-claim0
restartPolicy: Always
volumes:
- name: maana-q-lambda-server-db-claim0
persistentVolumeClaim:
claimName: maana-q-lambda-server-db-claim0
status: {}