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