Merge pull request #2812 from nextcloud/enh/2506/make-borg-read-only

Make borgbackup read-only
This commit is contained in:
Simon L 2023-06-19 13:38:49 +02:00 committed by GitHub
commit 3644e6f55e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -141,7 +141,7 @@
"type": "array",
"items": {
"type": "string",
"pattern": "^/[a-z/]$"
"pattern": "^/[a-z/]+$"
}
},
"volumes": {

View file

@ -410,7 +410,11 @@
"cap_add": [
"SYS_ADMIN"
],
"apparmor_unconfined": true
"apparmor_unconfined": true,
"read_only": true,
"tmpfs": [
"/tmp"
]
},
{
"container_name": "nextcloud-aio-watchtower",