Skip to content

Commit d1b37c1

Browse files
authored
Merge pull request nextcloud#5929 from nextcloud/enh/3549/add-scrutiny
add scrutiny community container
2 parents 28cc905 + 4def229 commit d1b37c1

File tree

3 files changed

+71
-1
lines changed

3 files changed

+71
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Scrutiny
2+
This container bundles Scrutiny and auto-configures it for you.
3+
4+
### Notes
5+
- This container should only be run in home networks
6+
- ⚠️ This container mounts all devices from the host inside the container in order to be able to access the drives and smartctl stats which is a security issue. However no better solution was found for the time being.
7+
- This container only works on Linux and not on Docker-Desktop.
8+
- After adding and starting the container, you need to visit `http://internal.ip.of.server:8000` which will show the dashboard for your drives.
9+
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
10+
11+
### Repository
12+
https://github.com/szaimen/aio-scrutiny
13+
14+
### Maintainer
15+
https://github.com/szaimen
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"aio_services_v1": [
3+
{
4+
"container_name": "nextcloud-aio-scrutiny",
5+
"display_name": "Scrutiny",
6+
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/scrutiny",
7+
"image": "szaimen/aio-scrutiny",
8+
"image_tag": "v1",
9+
"internal_port": "8000",
10+
"restart": "unless-stopped",
11+
"ports": [
12+
{
13+
"ip_binding": "",
14+
"port_number": "8000",
15+
"protocol": "tcp"
16+
}
17+
],
18+
"cap_add": [
19+
"SYS_RAWIO",
20+
"SYS_ADMIN"
21+
],
22+
"environment": [
23+
"TZ=%TIMEZONE%",
24+
"SCRUTINY_WEB_LISTEN_PORT=8000",
25+
"COLLECTOR_API_ENDPOINT=http://127.0.0.1:8000"
26+
],
27+
"volumes": [
28+
{
29+
"source": "nextcloud_aio_scrutiny",
30+
"destination": "/opt/scrutiny/config",
31+
"writeable": true
32+
},
33+
{
34+
"source": "nextcloud_aio_scrutiny_db",
35+
"destination": "/opt/scrutiny/influxdb",
36+
"writeable": true
37+
},
38+
{
39+
"source": "/run/udev",
40+
"destination": "/run/udev",
41+
"writeable": false
42+
},
43+
{
44+
"source": "/dev",
45+
"destination": "/dev",
46+
"writeable": false
47+
}
48+
],
49+
"backup_volumes": [
50+
"nextcloud_aio_scrutiny",
51+
"nextcloud_aio_scrutiny_db"
52+
]
53+
}
54+
]
55+
}

php/containers-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
},
214214
"source": {
215215
"type": "string",
216-
"pattern": "^((nextcloud_aio_[a-z_]+)|(%[A-Z_]+%)|(/dev))$"
216+
"pattern": "^((nextcloud_aio_[a-z_]+)|(%[A-Z_]+%)|(/dev)|(/run/udev))$"
217217
},
218218
"writeable": {
219219
"type": "boolean"

0 commit comments

Comments
 (0)