aswi2022code-of-duty-gitlab/backend/db-deployment.yaml @ 2e85bd2f
1 | f3e8b06e | Jakub Smid | apiVersion: apps/v1 |
---|---|---|---|
2 | kind: Deployment |
||
3 | metadata: |
||
4 | annotations: |
||
5 | 369e0228 | Schwobik | kompose.cmd: D:\Skola\5_leto\ASWI\Semestralka\aswi2022code-of-duty\kompose.exe convert |
6 | f3e8b06e | Jakub Smid | kompose.version: 1.26.0 (40646f47) |
7 | creationTimestamp: null |
||
8 | labels: |
||
9 | io.kompose.service: db |
||
10 | name: db |
||
11 | spec: |
||
12 | replicas: 1 |
||
13 | selector: |
||
14 | matchLabels: |
||
15 | io.kompose.service: db |
||
16 | 0319d5a2 | Jakub Smid | strategy: |
17 | type: Recreate |
||
18 | f3e8b06e | Jakub Smid | template: |
19 | metadata: |
||
20 | annotations: |
||
21 | 369e0228 | Schwobik | kompose.cmd: D:\Skola\5_leto\ASWI\Semestralka\aswi2022code-of-duty\kompose.exe convert |
22 | f3e8b06e | Jakub Smid | kompose.version: 1.26.0 (40646f47) |
23 | creationTimestamp: null |
||
24 | labels: |
||
25 | io.kompose.service: db |
||
26 | spec: |
||
27 | containers: |
||
28 | - env: |
||
29 | - name: POSTGRES_DB |
||
30 | value: test |
||
31 | - name: POSTGRES_PASSWORD |
||
32 | value: Password.123 |
||
33 | - name: POSTGRES_USER |
||
34 | value: test |
||
35 | image: postgres:14.2 |
||
36 | name: postgres-db |
||
37 | ports: |
||
38 | - containerPort: 5432 |
||
39 | 369e0228 | Schwobik | resources: {} |
40 | f3e8b06e | Jakub Smid | restartPolicy: Always |
41 | status: {} |