generated from Start9Labs/hello-world-startos
-
Notifications
You must be signed in to change notification settings - Fork 2
/
manifest.yaml
100 lines (100 loc) · 1.96 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
id: nostr
title: "Nostr RS Relay"
version: 0.9.0
release-notes: |
* Upstream code update
* Code cleanup and fixes
* Update bundling process to use Deno emit module
license: MIT
wrapper-repo: "https://github.com/Start9Labs/nostr-rs-relay-startos"
upstream-repo: "https://sr.ht/~gheartsfield/nostr-rs-relay/"
support-site: "https://todo.sr.ht/~gheartsfield/nostr-rs-relay"
marketing-site: "https://nostr.com/"
build: ["make"]
description:
short: A Nostr relay, written in Rust.
long: |
This is a Nostr relay, written in Rust. It currently supports the entire relay protocol, and persists data with SQLite.
assets:
license: LICENSE
icon: icon.png
instructions: instructions.md
main:
type: docker
image: main
entrypoint: "docker_entrypoint.sh"
args: []
mounts:
main: /data
hardware-requirements:
arch:
- x86_64
- aarch64
health-checks:
main:
name: Websocket Server
success-message: The Nostr websocket server is alive and listening for connections.
type: script
config:
get:
type: script
set:
type: script
properties:
type: script
volumes:
main:
type: data
interfaces:
websocket:
name: Websocket Interface
description: Nostr websocket relay interface
tor-config:
port-mapping:
80: "8080"
lan-config:
443:
ssl: true
internal: 8080
ui: false
protocols:
- tcp
- http
alerts: {}
dependencies: {}
backup:
create:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- create
- /mnt/backup
- /data
mounts:
BACKUP: /mnt/backup
main: /data
restore:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- restore
- /mnt/backup
- /data
mounts:
BACKUP: /mnt/backup
main: /data
migrations:
from:
"*":
type: script
args: ["from"]
to:
"*":
type: script
args: ["to"]