Merge pull request #2875 from nextcloud/enh/2506/talk

make talk container read-only
This commit is contained in:
Simon L 2023-07-13 12:15:58 +02:00 committed by GitHub
commit d5f309df3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 10 deletions

View file

@ -41,12 +41,11 @@ RUN set -ex; \
echo "root:$(openssl rand -base64 12)" | chpasswd; \
\
touch \
/etc/nats.conf \
/etc/signaling.conf \
/etc/turnserver.conf; \
/etc/nats.conf; \
echo "listen: 127.0.0.1:4222" | tee /etc/nats.conf; \
mkdir -p \
/var/tmp \
/conf \
/var/lib/turn \
/var/log/supervisord \
/var/run/supervisord; \
@ -54,11 +53,13 @@ RUN set -ex; \
/usr \
/etc/janus \
/etc/nats.conf \
/etc/signaling.conf \
/etc/turnserver.conf \
/var/lib/turn \
/var/log/supervisord \
/var/run/supervisord;
/var/run/supervisord; \
chmod 777 -R \
/conf \
/var/run/supervisord \
/var/log/supervisord;
# Set default talk port https://github.com/nextcloud/all-in-one/issues/1011
ENV TALK_PORT=3478