-
Notifications
You must be signed in to change notification settings - Fork 102
/
deploy.yml
87 lines (84 loc) · 2.11 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
version: "2.0"
services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v1.0.2-akash-v0.36.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- AKASH_PRIV_VALIDATOR_LADDR=tcp://0.0.0.0:26658 # requires remote signer
expose:
- port: 26657
to:
- service: proxy # only exposed to proxy, not globally
- port: 26658
to:
- service: proxy # only exposed to proxy, not globally
params:
storage:
data:
mount: /root/.akash
proxy:
image: ghcr.io/ovrclk/stunnel-proxy:v0.0.1
env:
- PSK=DmtaC6N3HOWFkJZpNZs2dkabFT5yQONw # must match PSK in Stunnel client
- STUNNEL_SVC_RPC_ACCEPT=36657 # accept 36657
- STUNNEL_SVC_RPC_CONNECT=node:26657 # proxy 36657 to node:26657
- STUNNEL_SVC_SIGNER_ACCEPT=36658 # accept 36658
- STUNNEL_SVC_SIGNER_CONNECT=node:26658 # proxy 36658 to node:26658
expose:
- port: 36657 # expose TLS encrypted 36657 globally through a random port
to:
- global: true
- port: 36658 # expose TLS encrypted 36658 globally through a random port
to:
- global: true
profiles:
compute:
node:
resources:
cpu:
units: 4
memory:
size: 8Gi
storage:
- size: 512Mi
- name: data
size: 120Gi
attributes:
persistent: true
class: beta2
proxy:
resources:
cpu:
units: 1
memory:
size: 512Mi
storage:
size: 512Mi
placement:
dcloud:
attributes:
host: akash
signedBy:
anyOf:
- akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63
pricing:
node:
denom: uakt
amount: 10000
proxy:
denom: uakt
amount: 10000
deployment:
node:
dcloud:
profile: node
count: 1
proxy:
dcloud:
profile: proxy
count: 1