-
Notifications
You must be signed in to change notification settings - Fork 227
/
deploy.yaml
71 lines (68 loc) · 1.3 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
version: "2.0"
services:
db:
image: postgres:11.6-alpine
env:
- POSTGRES_USER=codimd
- POSTGRES_PASSWORD=change_password
- POSTGRES_DB=codimd
expose:
- port: 3306
as: 3306
to:
- service: db
codimd:
image: hackmdio/hackmd:2.4.1
env:
- CMD_DB_URL=postgres://codimd:change_password@database/codimd
- CMD_USECDN=false
depends-on:
- db
expose:
- port: 3000
as: 3000
to:
- global: true
profiles:
compute:
db:
resources:
cpu:
units: 0.5
memory:
size: 512Mi
storage:
size: 512Mi
codimd:
resources:
cpu:
units: 0.5
memory:
size: 512Mi
storage:
size: 1Gi
placement:
westcoast:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
pricing:
db:
denom: uakt
amount: 10000
codimd:
denom: uakt
amount: 10000
deployment:
db:
westcoast:
profile: db
count: 1
codimd:
westcoast:
profile: codimd
count: 1