-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev-db-deployment.yaml
38 lines (38 loc) · 1.07 KB
/
dev-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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f docker-compose.yml
kompose.version: 1.33.0 (3ce457399)
labels:
io.kompose.service: dev-db
name: dev-db
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: dev-db
template:
metadata:
annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f docker-compose.yml
kompose.version: 1.33.0 (3ce457399)
labels:
io.kompose.network/crud-rest-line-bot-app-network: "true"
io.kompose.service: dev-db
spec:
containers:
- env:
- name: POSTGRES_DB
value: nest
- name: POSTGRES_PASSWORD
value: "123"
- name: POSTGRES_USER
value: postgres
image: postgres:13
name: postgres
ports:
- containerPort: 5432
hostPort: 5432
protocol: TCP
restartPolicy: Always