Skip to content

Commit

Permalink
add devices key
Browse files Browse the repository at this point in the history
  • Loading branch information
William-De71 committed Jan 21, 2025
1 parent 780cc93 commit 9deaeaf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions server/services/node-red/docker/gladys-node-red-container.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"1880/tcp": {}
},
"HostConfig": {
"Binds": ["/var/lib/gladysassistant/node-red:/data", "/dev:/dev", "/run/udev:/run/udev:ro"],
"Binds": [
"/var/lib/gladysassistant/node-red:/data",
"/run/udev:/run/udev:ro"
],
"LogConfig": {
"Type": "json-file",
"Config": {
Expand All @@ -27,7 +30,13 @@
"DnsOptions": [],
"DnsSearch": [],
"BlkioWeightDevice": [],
"Devices": []
"Devices": [
{
"PathOnHost": "/dev",
"PathInContainer": "/dev",
"CgroupPermissions": "rwm"
}
]
},
"NetworkDisabled": false,
"AttachStdin": false,
Expand Down

0 comments on commit 9deaeaf

Please sign in to comment.