forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 1
/
deploy.yaml
54 lines (51 loc) · 1.03 KB
/
deploy.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
49
50
51
52
53
54
---
version: "2.0"
services:
postgres:
image: postgres
expose:
- port: 5432
to:
- global: true
env:
- PGDATA=/var/lib/postgresql/data/pgdata
- "POSTGRES_USER=admin"
- "POSTGRES_PASSWORD=let-me-in"
- "POSTGRES_DB=mydb"
params:
storage:
data:
mount: /var/lib/postgresql/data
readOnly: false
profiles:
compute:
postgres:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
- size: 1Gi
- name: data
size: 1Gi
attributes:
persistent: true
class: beta3
placement:
akash:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
pricing:
postgres:
denom: uakt
amount: 10000
deployment:
postgres:
akash:
profile: postgres
count: 1