Spaces:
Paused
Paused
Update custom-entrypoint.sh
Browse files- custom-entrypoint.sh +2 -1
custom-entrypoint.sh
CHANGED
|
@@ -16,7 +16,7 @@ set -e
|
|
| 16 |
# --log-file=stdout \
|
| 17 |
# --simple-log \
|
| 18 |
# --no-cli
|
| 19 |
-
|
| 20 |
turnserver -c /etc/coturn/turnserver.conf --no-cli &
|
| 21 |
TURN_PID=$!
|
| 22 |
NGROK_AUTHTOKEN="2OPQX6SQh0QCxXiJ2az4ncuma06_fPNSBi2NN19pRicnxiz7"
|
|
@@ -27,6 +27,7 @@ if [ -z "$NGROK_AUTHTOKEN" ]; then
|
|
| 27 |
echo "⚠ No NGROK_AUTHTOKEN set. Please pass it with -e NGROK_AUTHTOKEN=your_token"
|
| 28 |
exit 1
|
| 29 |
fi
|
|
|
|
| 30 |
echo "TOKEN : $NGROK_AUTHTOKEN"
|
| 31 |
# ngrok config add-authtoken "$NGROK_AUTHTOKEN"
|
| 32 |
ngrok authtoken "$NGROK_AUTHTOKEN"
|
|
|
|
| 16 |
# --log-file=stdout \
|
| 17 |
# --simple-log \
|
| 18 |
# --no-cli
|
| 19 |
+
|
| 20 |
turnserver -c /etc/coturn/turnserver.conf --no-cli &
|
| 21 |
TURN_PID=$!
|
| 22 |
NGROK_AUTHTOKEN="2OPQX6SQh0QCxXiJ2az4ncuma06_fPNSBi2NN19pRicnxiz7"
|
|
|
|
| 27 |
echo "⚠ No NGROK_AUTHTOKEN set. Please pass it with -e NGROK_AUTHTOKEN=your_token"
|
| 28 |
exit 1
|
| 29 |
fi
|
| 30 |
+
chmod 777 /.ngrok2/ngrok.yml
|
| 31 |
echo "TOKEN : $NGROK_AUTHTOKEN"
|
| 32 |
# ngrok config add-authtoken "$NGROK_AUTHTOKEN"
|
| 33 |
ngrok authtoken "$NGROK_AUTHTOKEN"
|