-
Notifications
You must be signed in to change notification settings - Fork 3
/
deploy.yml
62 lines (59 loc) · 1.08 KB
/
deploy.yml
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
55
56
57
58
59
60
61
62
---
version: "2.0"
services:
cron:
image: ghcr.io/ovrclk/akash-postgres-restore:v0.0.4
env:
- POSTGRES_PASSWORD=password
- POSTGRES_DATABASE=akash_postgres
- BACKUP_PATH=mybucket/backups
- BACKUP_KEY=KEY
- BACKUP_SECRET=SECRET
- BACKUP_PASSPHRASE=passphrase
depends_on:
- service: postgres
postgres:
image: postgres:12.6
env:
- POSTGRES_PASSWORD=password
expose:
- port: 5432
to:
- global: true
- service: cron
profiles:
compute:
cron:
resources:
cpu:
units: 0.5
memory:
size: 1Gi
storage:
size: 1Gi
postgres:
resources:
cpu:
units: 0.5
memory:
size: 1Gi
storage:
size: 1Gi
placement:
dcloud:
pricing:
cron:
denom: uakt
amount: 10
postgres:
denom: uakt
amount: 10
deployment:
cron:
dcloud:
profile: cron
count: 1
postgres:
dcloud:
profile: postgres
count: 1