-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfirefly-iii.json
More file actions
57 lines (56 loc) · 1.64 KB
/
Copy pathfirefly-iii.json
File metadata and controls
57 lines (56 loc) · 1.64 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
{
"version": 5,
"script": {
"version": "1.0.1",
"changeLog": "added requirements"
},
"requirements": {
"locations": [
"ApplicationsPerformance"
],
"specifications": [
"2CORE",
"2048MB"
],
"permissions": [
"READ_WRITE_LOCATIONS"
],
"ports": [
30105
]
},
"ensure_directories_exists": [
{
"path": "$LOCATION(ApplicationsPerformance)"
},
{
"path": "$LOCATION(ApplicationsPerformance)/firefly3"
},
{ "path": "$LOCATION(ApplicationsPerformance)/firefly3/postgres_data", "owner": { "user": "netdata", "group": "docker" }, "snapshot": { "id": "db" } },
{ "path": "$LOCATION(ApplicationsPerformance)/firefly3/uploads", "owner": { "user": "apps"}, "snapshot": { "id": "data" } }
],
"app_values": {
"firefly_iii" : {
"db_password": "$RANDOM_STRING(16)",
"redis_password": "$RANDOM_STRING(16)",
"app_key": "$RANDOM_STRING(32)",
"app_url": "http://$SERVER_LAN_IP:30105"
},
"storage": {
"uploads": "$HOST_PATH($LOCATION(ApplicationsPerformance)/firefly3/uploads)",
"postgres_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/firefly3/postgres_data)"
},
"network": {
"web_port": {
"bind_mode": "published",
"port_number": 30105
}
},
"resources": {
"limits": {
"cpus": 2,
"memory": "$MEMORY(10%, 2048)"
}
}
}
}