-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiploi.yaml
48 lines (44 loc) · 1.1 KB
/
diploi.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
47
48
diploiVersion: v1.0
type: addon
name: PostgreSQL
description: Official PostgreSQL addon for Diploi.
parameterGroups:
- name: Connection
identifier: postgres
description: Superuser & connection configuration
parameters:
- name: Host
identifier: POSTGRES_HOST
defaultValue: postgres
type: string
- name: Port
identifier: POSTGRES_PORT
defaultValue: 5432
type: integer
- name: User
identifier: POSTGRES_USER
defaultValue: postgres
type: string
contexts: label=postgres,label=app
- name: Password
identifier: POSTGRES_PASSWORD
defaultValue: postgres
type: secret
- name: Database
identifier: POSTGRES_DB
defaultValue: app
type: string
logs:
- name: Server log
type: log
labelSelector: app=postgres
- name: Date log
type: exec
labelSelector: app=postgres
command: ["sh", "-c", "while true; do date ; sleep 5; done"]
images:
- identifier: postgres
image: postgres:17.2
storage:
- identifier: postgres
sizeMiB: 6144