forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yml
48 lines (48 loc) · 1.1 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
---
version: "2.0"
services:
app:
image: declab/bitcoin_node:0.1
env:
- "LINK_BINARY=https://bitcoin.org/bin/bitcoin-core-27.0/bitcoin-27.0-x86_64-linux-gnu.tar.gz" # The download address of the binary file.
- "SNAPSHOT=" # Link to node snapshot (disable if you want to sync the full node).
- "ARGS=--prune=20000" #bitcoind startup flags
#params:
# storage:
# data:
# mount: /root/
expose:
- port: 8332 #RPC port
as: 80
to:
- global: true
- port: 8333 #P2P port
to:
- global: true
profiles:
compute:
app:
resources:
cpu:
units: 2.0
memory:
size: 2Gi
storage:
size: 30Gi # A full Bitcoin node requires over 600 gigabytes.
#- name: data
# size: 600Gi
# attributes:
# persistent: true
# class: beta3
placement:
akash:
attributes:
pricing:
app:
denom: uakt
amount: 10000
deployment:
app:
akash:
profile: app
count: 1