forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.yml
62 lines (62 loc) · 1.68 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
---
version: "2.0"
services:
app:
image: ubuntu:latest
env:
- "PASS_SSH=" # Password to connect to the node via SSH (root user).
- "LINK_BINARY=https://bitcoin.org/bin/bitcoin-core-22.0/bitcoin-22.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).
- "PRUNE=20000" # Blockchain pruning, indicates the number of megabytes available for node storage (disable if you want to synchronize the full node).
# Synchronization of a full bitcoin node needs more than 600 gigabytes of memory, and will take about 5 days.
command:
- "bash"
- "-c"
args:
- 'apt-get update && apt-get upgrade -y ;
apt-get install -y curl ;
curl https://raw.githubusercontent.com/akash-network/awesome-akash/master/bitcoin/main.sh | bash'
#params:
# storage:
# data:
# mount: /root/
expose:
- port: 80
as: 80
to:
- global: true
- port: 8333
as: 8333
to:
- global: true
- port: 22
as: 22
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