privateone commited on
Commit
51d0ce1
·
verified ·
1 Parent(s): 60f4cd1

Update custom-entrypoint.sh

Browse files
Files changed (1) hide show
  1. custom-entrypoint.sh +11 -10
custom-entrypoint.sh CHANGED
@@ -5,21 +5,22 @@ set -e
5
  # Detect external/public IP dynamically (you can hardcode this if needed)
6
  # EXTERNAL_IP=$(curl -s https://ifconfig.me)
7
 
8
- # exec turnserver \
9
- # --listening-ip=0.0.0.0 \
10
- # --listening-port=7860 \
11
- # --tls-listening-port=7860 \
 
12
  # --cert=/etc/turn/certs/turn_server_cert.pem \
13
  # --pkey=/etc/turn/certs/turn_server_pkey.pem \
14
- # --user=myuser:mypassword \
15
  # --realm=privateone-coturn.hf.space \
16
- # --log-file=stdout \
17
- # --simple-log \
18
- # --no-cli
19
 
20
 
21
- exec turnserver -c /etc/coturn/turnserver.conf --no-cli &
22
- TURN_PID=$!
23
 
24
 
25
  # ngrok config add-authtoken "$NGROK_AUTHTOKEN"
 
5
  # Detect external/public IP dynamically (you can hardcode this if needed)
6
  # EXTERNAL_IP=$(curl -s https://ifconfig.me)
7
 
8
+ exec turnserver \
9
+ -c /etc/coturn/turnserver.conf \
10
+ --listening-ip=0.0.0.0 \
11
+ --listening-port=7860 \
12
+ --tls-listening-port=7860 \
13
  # --cert=/etc/turn/certs/turn_server_cert.pem \
14
  # --pkey=/etc/turn/certs/turn_server_pkey.pem \
15
+ --user=myuser:mypassword \
16
  # --realm=privateone-coturn.hf.space \
17
+ --log-file=stdout \
18
+ --simple-log \
19
+ --no-cli
20
 
21
 
22
+ #exec turnserver -c /etc/coturn/turnserver.conf --no-cli &
23
+ #TURN_PID=$!
24
 
25
 
26
  # ngrok config add-authtoken "$NGROK_AUTHTOKEN"