mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #5538 from nextcloud/enh/noid/change-talk-recording
talk-recording: change tmpfs to volume
This commit is contained in:
commit
d6bd5b407a
3 changed files with 11 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ RUN set -ex; \
|
|||
build-base \
|
||||
linux-headers;
|
||||
|
||||
VOLUME /tmp
|
||||
WORKDIR /tmp
|
||||
USER 122
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ if [ -z "$HPB_DOMAIN" ]; then
|
|||
export HPB_DOMAIN="$NC_DOMAIN"
|
||||
fi
|
||||
|
||||
# Delete all contents on startup to start fresh
|
||||
rm -fr /tmp/{*,.*}
|
||||
|
||||
cat << RECORDING_CONF > "/conf/recording.conf"
|
||||
[logs]
|
||||
# 30 means Warning
|
||||
|
|
|
|||
|
|
@ -440,6 +440,13 @@
|
|||
"RECORDING_SECRET=%RECORDING_SECRET%",
|
||||
"INTERNAL_SECRET=%TALK_INTERNAL_SECRET%"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"source": "nextcloud_aio_talk_recording",
|
||||
"destination": "/tmp",
|
||||
"writeable": true
|
||||
}
|
||||
],
|
||||
"shm_size": 2147483648,
|
||||
"secrets": [
|
||||
"RECORDING_SECRET",
|
||||
|
|
@ -454,7 +461,6 @@
|
|||
],
|
||||
"read_only": true,
|
||||
"tmpfs": [
|
||||
"/tmp",
|
||||
"/conf"
|
||||
],
|
||||
"cap_drop": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue