mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-02 03:24:28 +08:00
Merge pull request #2872 from nextcloud/enh/2506/collabora
make collabora container read-only
This commit is contained in:
commit
bb63abd8a6
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^/[a-z/_]+$"
|
||||
"pattern": "^/[a-z/_-]+$"
|
||||
}
|
||||
},
|
||||
"volumes": {
|
||||
|
|
|
@ -294,6 +294,10 @@
|
|||
],
|
||||
"networks": [
|
||||
"nextcloud-aio"
|
||||
],
|
||||
"read_only": true,
|
||||
"tmpfs": [
|
||||
"/opt/cool/child-roots"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue