-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathegg-pterodactyl-yarr.json
52 lines (52 loc) · 1.89 KB
/
egg-pterodactyl-yarr.json
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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": null,
"version": "PTDL_v2"
},
"exported_at": "2024-06-02T14:40:56+00:00",
"name": "Yarr",
"author": "[email protected]",
"description": "Yarr is a selfhosted feed aggregator",
"features": null,
"docker_images": {
"ghcr.io/parkervcp/yolks:debian": "ghcr.io/parkervcp/yolks:debian"
},
"file_denylist": [],
"startup": "./yarr -addr 0.0.0.0:{{SERVER_PORT}} -auth=\"{{USERNAME}}:{{PASSWORD}}\" -db=./feed.sql",
"config": {
"files": "{}",
"logs": "{}",
"startup": "{\r\n \"done\": \"starting server\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"container": "golang:1.19.13-bookworm",
"entrypoint": "bash",
"script": "#!/bin/bash\r\n\r\ncd /mnt/server\r\n\r\nmkdir yarr_source\r\ngit clone https://github.com/nkanaev/yarr yarr_source\r\n\r\ncd yarr_source\r\n\r\nmake build_default # -\u003e _output/yarr\r\n\r\ncp _output/yarr ../yarr\r\ncd ../\r\n\r\nrm -rf yarr_source\r\n\r\nchmod +x yarr\r\n\r\necho \"Install complete\""
}
},
"variables": [
{
"name": "Username",
"description": "The username used to log in to yarr",
"env_variable": "USERNAME",
"default_value": "username",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|alpha_dash",
"field_type": "text"
},
{
"name": "Password",
"description": "The password needed to log in to yarr",
"env_variable": "PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|alpha_dash",
"field_type": "text"
}
]
}