forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
66 lines (65 loc) · 1.85 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
---
version: "2.0"
services:
polkadot:
image: parity/polkadot:v0.9.42
expose:
- port: 9933 # rpc port
as: 9933
to:
- global: true
- port: 9944 # ws port
as: 9944
to:
- global: true
- port: 30333 # p2p port
as: 30333
to:
- global: true
args:
#https://github.com/paritytech/polkadot/blob/master/doc/docker.md
- --chain=polkadot
- --ws-external
- --rpc-external
- --rpc-cors=all
#- --pruning=256
#- --unsafe-pruning
#https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot
#- --name My_Validator_Name
#- --validator
#- --public-addr=/ip4/IP_ADDRESS/tcp/2435
#- --listen-addr=/ip4/0.0.0.0/tcp/30333
#- --rpc-methods=Unsafe
profiles:
compute:
polkadot:
resources:
cpu:
units: 4.0
memory:
size: 16Gi
storage:
size: 128Gi
#An archive node takes up a lot of disk space - around Kusama's 12 millionth block this was around 660 GB.
placement:
akash:
#######################################################
#Keep this section to deploy on trusted providers
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
#######################################################
#Remove this section to deploy on untrusted providers
#Miners: You can receive more bids from more providers by removing this section
#Beware* You may have deployment, security, or other issues on untrusted providers
#https://docs.akash.network/providers/akash-audited-attributes
pricing:
polkadot:
denom: uakt
amount: 10000
deployment:
polkadot:
akash:
profile: polkadot
count: 1