Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
b540f40f
Commit
b540f40f
authored
6 years ago
by
Felipe Cecagno
Browse files
Options
Downloads
Patches
Plain Diff
fix kms container with configurable ws port
parent
06e9b153
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
labs/docker/kurento/Dockerfile
+2
-0
2 additions, 0 deletions
labs/docker/kurento/Dockerfile
labs/docker/kurento/docker-entrypoint.sh
+2
-1
2 additions, 1 deletion
labs/docker/kurento/docker-entrypoint.sh
with
4 additions
and
1 deletion
labs/docker/kurento/Dockerfile
+
2
−
0
View file @
b540f40f
FROM
ubuntu:16.04
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
\
&&
apt-get
-y
dist-upgrade
\
&&
apt-get
install
-y
software-properties-common curl wget apt-transport-https
...
...
This diff is collapsed.
Click to expand it.
labs/docker/kurento/docker-entrypoint.sh
+
2
−
1
View file @
b540f40f
...
...
@@ -15,7 +15,8 @@ if [ -n "$KMS_STUN_IP" -a -n "$KMS_STUN_PORT" ]; then
echo
"stunServerPort=
$KMS_STUN_PORT
"
>>
/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
fi
cat
/etc/kurento/kurento.conf.json |
sed
'/^[ ]*\/\//d'
| jq
".mediaServer.net.websocket.port =
$PORT
"
>
/etc/kurento/kurento.conf.json
KMS_CONFIG
=
$(
cat
/etc/kurento/kurento.conf.json |
sed
'/^[ ]*\/\//d'
| jq
".mediaServer.net.websocket.port =
$PORT
"
)
echo
$KMS_CONFIG
>
/etc/kurento/kurento.conf.json
# Remove ipv6 local loop until ipv6 is supported
cat
/etc/hosts |
sed
'/::1/d'
|
tee
/etc/hosts
>
/dev/null
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment