Skip to content

Commit

Permalink
Merge pull request #2812 from nextcloud/enh/2506/make-borg-read-only
Browse files Browse the repository at this point in the history
Make borgbackup read-only
  • Loading branch information
szaimen authored Jun 19, 2023
2 parents 417ebc5 + 571b2fe commit 3644e6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php/containers-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"type": "array",
"items": {
"type": "string",
"pattern": "^/[a-z/]$"
"pattern": "^/[a-z/]+$"
}
},
"volumes": {
Expand Down
6 changes: 5 additions & 1 deletion php/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,11 @@
"cap_add": [
"SYS_ADMIN"
],
"apparmor_unconfined": true
"apparmor_unconfined": true,
"read_only": true,
"tmpfs": [
"/tmp"
]
},
{
"container_name": "nextcloud-aio-watchtower",
Expand Down

0 comments on commit 3644e6f

Please sign in to comment.