forked from eshtek/hexos-app-catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjellystat.json
More file actions
65 lines (64 loc) · 1.63 KB
/
Copy pathjellystat.json
File metadata and controls
65 lines (64 loc) · 1.63 KB
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
{
"version": 4,
"script": {
"version": "1.0.0",
"changeLog": "Initial"
},
"installation_questions": [
{
"question": "Are you using Jellyfin or Emby?",
"type": "select",
"key": "is_emby_api",
"required": true,
"options": [
{
"text": "Jellyfin",
"value": "false"
},
{
"text": "Emby",
"value": "true"
}
],
"default": "false"
}
],
"requirements": {
"locations": ["ApplicationsPerformance"],
"specifications": ["2CORE", "256MB"],
"permissions": ["READ_WRITE_LOCATIONS"],
"ports": [30176]
},
"ensure_directories_exists": [
{
"path": "$LOCATION(ApplicationsPerformance)",
"network_share": true
},
{ "path": "$LOCATION(ApplicationsPerformance)/jellystat/backup", "snapshot": { "id": "backup" } },
{ "path": "$LOCATION(ApplicationsPerformance)/jellystat/postgres_data", "owner": { "user": "netdata", "group": "docker" }, "snapshot": { "id": "db" } }
],
"app_values": {
"jellystat": {
"db_password": "$RANDOM_STRING(7)",
"jwt_secret": "$RANDOM_STRING(7)",
"is_emby_api": "$QUESTION(is_emby_api)",
"additional_envs": []
},
"network": {
"web_port": {
"bind_mode": "published",
"port_number": 30176
}
},
"storage": {
"backup": "$HOST_PATH($LOCATION(ApplicationsPerformance)/jellystat/backup)",
"postgres_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/jellystat/postgres_data)"
},
"resources": {
"limits": {
"cpus": 2,
"memory": "$MEMORY(10%, 4096)"
}
}
}
}