mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
change eturnal.yml path
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
9d154557f8
commit
96beb00bb2
3 changed files with 4 additions and 2 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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: "::"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue