-
Notifications
You must be signed in to change notification settings - Fork 270
Expand file tree
/
Copy pathdeploy.yaml
More file actions
60 lines (57 loc) · 940 Bytes
/
deploy.yaml
File metadata and controls
60 lines (57 loc) · 940 Bytes
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
---
version: "2.0"
services:
mongo:
image: library/mongo:latest
expose:
- port: 27017
as: 27017
to:
- service: mongo
snake:
image: harish1551/snake-game:latest
env:
- DB_HOST=mongo
depends_on:
- mongo
expose:
- port: 8000
as: 80
to:
- global: true
profiles:
compute:
snake:
resources:
cpu:
units: 0.25
memory:
size: 512Mi
storage:
size: 1G
mongo:
resources:
cpu:
units: 0.25
memory:
size: 512Mi
storage:
size: 128Mi
placement:
akash:
pricing:
snake:
denom: uakt
amount: 10000
mongo:
denom: uakt
amount: 10000
deployment:
snake:
akash:
profile: snake
count: 1
mongo:
akash:
profile: mongo
count: 1