This repository was archived by the owner on Mar 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ max-port=20000
77fingerprint
88lt-cred-mech
99
10- user=YOUR.USERNAME:YOUR.PASSWORD
10+ user=colourstream:your_turn_credential_here
1111
12- server-name=YOUR. DOMAIN.NAME
13- realm=YOUR. DOMAIN.NAME
12+ server-name=${ DOMAIN}
13+ realm=${ DOMAIN}
1414
1515total-quota=100
1616stale-nonce=600
1717
18- cert=/etc/letsencrypt/live/YOUR.DOMAIN.NAME /fullchain.pem
19- pkey=/etc/letsencrypt/live/YOUR.DOMAIN.NAME /privkey.pem
18+ cert=/etc/certs /fullchain.pem
19+ pkey=/etc/certs /privkey.pem
2020
2121cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"
2222
23- no-stdout-log
23+ no-stdout-log
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ download_templates() {
6969 " frontend/.env.template"
7070 " mirotalk/.env.template"
7171 " companion/.env.template"
72- " coturn/turnserver.conf.template"
7372 )
7473
7574 # Download each template
@@ -87,17 +86,6 @@ download_templates() {
8786 echo " Downloading $template ..."
8887 if ! curl -s -o " $TEMPLATES_DIR /$template " " $REPO_URL /$template " ; then
8988 echo " ⚠️ Failed to download $template "
90- # If the file fails to download and it's the turnserver.conf.template,
91- # try copying from local path as fallback
92- if [ " $template " = " coturn/turnserver.conf.template" ] && [ -f " coturn/turnserver.conf.template" ]; then
93- echo " Using local turnserver.conf.template instead..."
94- mkdir -p " $TEMPLATES_DIR /coturn"
95- cp " coturn/turnserver.conf.template" " $TEMPLATES_DIR /coturn/turnserver.conf.template"
96- if [ $? -eq 0 ]; then
97- echo " ✅ Successfully copied local turnserver.conf.template"
98- continue
99- fi
100- fi
10189 return 1
10290 fi
10391 done
@@ -385,4 +373,4 @@ main() {
385373}
386374
387375# Run the main function
388- main
376+ main
You can’t perform that action at this time.
0 commit comments