forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yml
73 lines (69 loc) · 1.2 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
63
64
65
66
67
68
69
70
71
72
73
---
version: "2.0"
services:
db:
image: postgres:latest
expose:
- port: 5432
proto: tcp
to:
- service: odoo
env:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- POSTGRES_DB=postgres
odoo:
image: odoo:latest
depends_on:
- db
expose:
- port: 8069
to:
- global: true
# tty: true
env:
- HOST=db
- USER=odoo
- PASSWORD=odoo
profiles:
compute:
db:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
size: 1Gi
odoo:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
size: 1Gi
placement:
westcoast:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
pricing:
db:
denom: uakt
amount: 10000
odoo:
denom: uakt
amount: 10000
deployment:
db:
westcoast:
profile: db
count: 1
odoo:
westcoast:
profile: odoo
count: 1