mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
make talk-recording read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
6747613a34
commit
5189f0cd51
3 changed files with 10 additions and 2 deletions
|
|
@ -31,6 +31,9 @@ RUN set -ex; \
|
|||
touch /etc/recording.conf; \
|
||||
chown recording:recording -R \
|
||||
/tmp /etc/recording.conf; \
|
||||
mkdir -p /conf; \
|
||||
chmod 777 /conf; \
|
||||
chmod 777 /tmp; \
|
||||
apk del --no-cache \
|
||||
git \
|
||||
wget \
|
||||
|
|
@ -40,7 +43,7 @@ RUN set -ex; \
|
|||
WORKDIR /tmp
|
||||
USER recording
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/etc/recording.conf"]
|
||||
CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/conf/recording.conf"]
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 1234 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.enable="false"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ elif [ -z "$INTERNAL_SECRET" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
cat << RECORDING_CONF > "/etc/recording.conf"
|
||||
cat << RECORDING_CONF > "/conf/recording.conf"
|
||||
[logs]
|
||||
# 30 means Warning
|
||||
level = 30
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue