forked from OCEAN-xyz/datum-gateway-startos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.yaml
165 lines (164 loc) · 3.7 KB
/
manifest.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Example written in yaml (toml and json are also acceptable)
# The package identifier used by the OS. This must be unique amongst all other known packages
id: datum
# A human readable service title
title: "Datum Gateway"
# Service version - accepts up to four digits, where the last confirms to revisions necessary for StartOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service.
version: 0.2.1
# Release notes for the update - can be a string, paragraph or URL
release-notes: |
- Initial Release
license: MIT
wrapper-repo: "https://github.com/ocean-xyz/datum-gateway-startos"
upstream-repo: "https://github.com/ocean-xyz/datum-gateway"
support-site: "https://ocean.xyz"
marketing-site: "https://ocean.xyz"
build: ["make"]
description:
short: Make block templates and issue work to your miners
long: |
Datum-gateway allows miners to use their Bitcoin node to generate their own templates and issue work to their miners while still sharing rewards on a pool or solo mining.
assets:
license: LICENSE
icon: icon.png
instructions: INSTRUCTIONS.md
main:
type: docker
image: main
entrypoint: "docker_entrypoint.sh"
args: []
mounts:
main: /root
gpu-acceleration: false
hardware-requirements:
arch:
- x86_64
- aarch64
health-checks:
dashboard:
name: Datum Dashboard
success-message: The Datum-gateway dashboard is accessible.
type: docker
image: main
system: false
entrypoint: check-dashboard.sh
args: []
mounts: {}
io-format: json
inject: true
stratum:
name: Stratum Interface
success-message: Stratum port is available. Ensure you're forwarding with simpleproxy and then connect your miner(s).
type: docker
image: main
system: false
entrypoint: check-stratum.sh
args: []
mounts: {}
io-format: json
inject: true
bitcoin:
name: Bitcoin RPC
success-message: Bitcoin RPC available.
type: docker
image: main
system: false
entrypoint: check-bitcoin.sh
args: []
mounts: {}
io-format: json
inject: true
blocknotify:
name: Bitcoind Blocknotify Setting
success-message: Blocknotify set correctly.
type: docker
image: main
system: false
entrypoint: check-blocknotify.sh
args: []
mounts: {}
io-format: json
inject: true
config:
get:
type: script
set:
type: script
properties: ~
volumes:
main:
type: data
interfaces:
main:
name: Web UI
description: Dashboard for Datum-gateway
tor-config:
port-mapping:
80: "7152"
lan-config:
443:
ssl: true
internal: 7152
ui: true
protocols:
- tcp
- http
mining:
name: Mining Interface
description: Point your ASICs here!
lan-config:
23335:
ssl: false
internal: 23335
ui: false
protocols:
- tcp
- stratum
- http
dependencies:
bitcoind:
version: ">=0.21.1.2 <29.0.0"
requirement:
type: "required"
description: Used to generate block templates
config:
check:
type: script
auto-configure:
type: script
backup:
create:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- create
- /mnt/backup
- /root
mounts:
BACKUP: "/mnt/backup"
main: "/root/data"
restore:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- restore
- /mnt/backup
- /root
mounts:
BACKUP: "/mnt/backup"
main: "/root/data"
migrations:
from:
"*":
type: script
args: ["from"]
to:
"*":
type: script
args: ["to"]