Merge pull request #2874 from nextcloud/enh/2506/apache

make apache container read-only
This commit is contained in:
Simon L 2023-07-13 14:18:49 +02:00 committed by GitHub
commit 1d67da4bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 7 deletions

View file

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

View file

@ -55,6 +55,13 @@
],
"networks": [
"nextcloud-aio"
],
"read_only": true,
"tmpfs": [
"/var/log/supervisord",
"/var/run/supervisord",
"/usr/local/apache2/logs",
"/caddy"
]
},
{