forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
85 lines (84 loc) · 2.82 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
version: "2.0"
services:
chia:
image: cryptoandcoffee/akash-chia:316
expose:
- port: 8080
as: 80
proto: tcp
to:
- global: true
env:
#############################REQUIRED##############################
- VERSION=1.6.0
#Always check https://github.com/Chia-Network/chia-blockchain/releases
- CONTRACT=
- FARMERKEY=
- PLOTTER=madmax
#Choose your plotter software - madmax, bladebit, bladebit-disk
- BUCKETS=256
- PLOT_SIZE=32
- PORT=8444
#Network port (default = 8444, chives = 9699, mmx = 11337)
- FINAL_LOCATION=local
#Set to "local" to access finished plots through web interface.
#Set to "upload" and finished plots will be uploaded to a SSH destination like user@ip:/home/user/plots
- CPU_UNITS=8
- MEMORY_UNITS=6Gi
- STORAGE_UNITS=815Gi
#Must match CPU/Memory/Storage units defined in resources.
#############################OPTIONAL##############################
#Uncomment the variables below when set FINAL_LOCATION=upload to enable remote uploading
#- REMOTE_HOST=changeme.com #SSH upload host
#- REMOTE_LOCATION=changeme #SSH upload location like /root/plots
#- REMOTE_PORT=22 #SSH upload port
#- REMOTE_USER=changeme #SSH upload user
#- REMOTE_PASS=changme #SSH upload password
#- UPLOAD_BACKGROUND=true
#Change to true to enable multiple background uploading of plots, this is the best option to use use 100% of your bandwidth.
#- RAMCACHE=32G
#Used only for PLOTTER=bladebit-disk, you must increase the memory resources requested below with this additional cache size.
#- RCLONE=false
#When true must also update JSON_RCLONE and add any destination in same format.
#- TOTAL_UPLOADS=1000
#Set the total number of parallel uploads allowed to an rclone destination
#- ENDPOINT_LOCATION=
#Only used for RCLONE=true
#- ENDPOINT_DIR=
#Only used for RCLONE=true
#- JSON_RCLONE=
# [storj]\n
# type = storj\n
# api_key = x\n
# passphrase = x\n
# satellite_address = x@x:7777\n
# access_grant = replaceme
#Example of STORJ config for RCLONE=true. If you want to use your own endpoint please escape each line with a backslash n, like in the example.
profiles:
compute:
chia:
resources:
cpu:
units: 8
memory:
size: 6Gi
storage:
size: 815Gi
placement:
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
attributes:
chia-plotting: "true"
pricing:
chia:
denom: uakt
amount: 100000
deployment:
chia:
akash:
profile: chia
count: 1