mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-08 06:26:48 +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 \
|
tzdata \
|
||||||
netcat-openbsd \
|
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
|
USER 100
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^/[a-z/_]+$"
|
"pattern": "^/[a-z/_-]+$"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"volumes": {
|
"volumes": {
|
||||||
|
|
|
@ -294,6 +294,10 @@
|
||||||
],
|
],
|
||||||
"networks": [
|
"networks": [
|
||||||
"nextcloud-aio"
|
"nextcloud-aio"
|
||||||
|
],
|
||||||
|
"read_only": true,
|
||||||
|
"tmpfs": [
|
||||||
|
"/opt/cool/child-roots"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue