-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployToAkash.yaml
71 lines (68 loc) · 1.69 KB
/
deployToAkash.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"
endpoints:
deraendpoint:
kind: ip
services:
diode:
image: tuhalf/diode_server
expose:
- port: 41046
to:
- global: true
ip: deraendpoint
- port: 443
to:
- global: true
ip: deraendpoint
- port: 993
to:
- global: true
ip: deraendpoint
- port: 1723
to:
- global: true
ip: deraendpoint
- port: 10000
to:
- global: true
ip: deraendpoint
- port: 51054
to:
- global: true
ip: deraendpoint
env:
- WORKER_MODE=800 # CPU usage in percent. 100% = 1 core. values over 100% are for multi-core systems. 800 = 8 cores. setting Disabled will disable the worker.Recomended to set disabled in syncing period.
- BLOCKCHAIN_SQ3_URL=https://pub-0d5d49260e184f7aa3fbc5cffff1d889.r2.dev/snapshots/blockchain.sq3 # Blockchain snapshot url (optional but recommended for faster sync)
#- PRIVATE=0x0000000000000000000000000000000000000000000000000000000000000000 # Your Wallet Private Key
params:
storage:
data:
mount: /diode_server/data_prod
profiles:
compute:
diode:
resources:
cpu:
units: 8
memory:
size: 8Gi
storage:
- size: 10Gi
- name: data
size: 140Gi
attributes:
persistent: true
class: beta3
placement:
akash:
attributes:
ip-lease: "true"
pricing:
diode:
denom: uakt
amount: 10000
deployment:
diode:
akash:
profile: diode
count: 1