Merge pull request #2872 from nextcloud/enh/2506/collabora

make collabora container read-only
This commit is contained in:
Simon L 2023-07-13 12:14:26 +02:00 committed by GitHub
commit bb63abd8a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,9 @@ RUN set -ex; \
tzdata \
netcat-openbsd \
; \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*; \
mkdir -p /opt/cool/child-roots; \
chmod 777 -R /opt/cool/child-roots
USER 100

View file

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

View file

@ -294,6 +294,10 @@
],
"networks": [
"nextcloud-aio"
],
"read_only": true,
"tmpfs": [
"/opt/cool/child-roots"
]
},
{