change eturnal.yml path

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2023-08-09 21:51:10 +02:00
parent 9d154557f8
commit 96beb00bb2
No known key found for this signature in database
GPG key ID: 02A3919EB4F67328
3 changed files with 4 additions and 2 deletions

View file

@ -35,6 +35,7 @@ RUN set -ex; \
FROM alpine:3.18.2 FROM alpine:3.18.2
ENV STUN_SERVICE="stun.nextcloud.com 443" ENV STUN_SERVICE="stun.nextcloud.com 443"
ENV ETURNAL_ETC_DIR="/conf"
COPY --from=janus /usr/local /usr/local COPY --from=janus /usr/local /usr/local
COPY --from=eturnal /opt/eturnal /opt/eturnal COPY --from=eturnal /opt/eturnal /opt/eturnal
COPY --from=eturnal /usr/local/bin/stun /usr/local/bin/stun COPY --from=eturnal /usr/local/bin/stun /usr/local/bin/stun
@ -76,6 +77,7 @@ RUN set -ex; \
\ \
touch \ touch \
/etc/nats.conf; \ /etc/nats.conf; \
/etc/eturnal.yml; \
echo "listen: 127.0.0.1:4222" | tee /etc/nats.conf; \ echo "listen: 127.0.0.1:4222" | tee /etc/nats.conf; \
mkdir -p \ mkdir -p \
/var/tmp \ /var/tmp \

View file

@ -27,7 +27,7 @@ IPv6_ADDRESS_NC="$(dig "$NC_DOMAIN" IN AAAA +short +https +tls-ca=/etc/ssl/certs
set +x set +x
# Turn # Turn
cat << TURN_CONF > "/opt/eturnal/etc/eturnal.yml" cat << TURN_CONF > "/conf/eturnal.yml"
eturnal: eturnal:
listen: listen:
- ip: "::" - ip: "::"

View file

@ -352,8 +352,8 @@
"tmpfs": [ "tmpfs": [
"/var/log/supervisord", "/var/log/supervisord",
"/var/run/supervisord", "/var/run/supervisord",
"/opt/eturnal/run",
"/conf", "/conf",
"/var/lib/turn",
"/tmp" "/tmp"
] ]
}, },