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
4fdd686c
Commit
4fdd686c
authored
6 years ago
by
Felipe Cecagno
Browse files
Options
Downloads
Patches
Plain Diff
update instructions and fix docker-compose to pull from docker hub
parent
69d0805d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
labs/docker/README.md
+13
-3
13 additions, 3 deletions
labs/docker/README.md
labs/docker/docker-compose.yml
+10
-17
10 additions, 17 deletions
labs/docker/docker-compose.yml
labs/docker/nginx-dhp/Dockerfile
+1
-1
1 addition, 1 deletion
labs/docker/nginx-dhp/Dockerfile
with
24 additions
and
21 deletions
DOCKER
.md
→
labs/docker/README
.md
+
13
−
3
View file @
4fdd686c
## Build
## Build
images individually
sbt is needed to build the Scala components
```
...
...
@@ -92,13 +92,17 @@ $ cd bbb-lti/
$ docker build -t bbb-lti .
```
## Build all
Build everything with a single command
```
$ cd labs/docker/
$ make release
```
## RUN
## Run
### Setup
Export your configuration as environment variables
```
...
...
@@ -108,6 +112,8 @@ $ export SHARED_SECRET=`openssl rand -hex 16`
$ export COTURN_REST_SECRET=`openssl rand -hex 16`
$ export SCREENSHARE_EXTENSION_LINK=https://chrome.google.com/webstore/detail/mconf-screenshare/mbfngdphjegmlbfobcblikeefpidfncb
$ export SCREENSHARE_EXTENSION_KEY=mbfngdphjegmlbfobcblikeefpidfncb
$ export TAG_PREFIX=fcecagno/bigbluebutton:
$ export TAG_SUFFIX=
```
Create a volume for the SSL certs
...
...
@@ -145,13 +151,17 @@ $ docker stop nginx
```
### Launch with docker-compose
Launch everything with docker compose
```
$ cd labs/docker/
$ docker-compose up
```
These are the instructions to run the containers individually
### Launch without docker-compose
These are the instructions to run the containers individually, in order
```
$ docker run --rm --name mongo -d mongo:3.4
...
...
This diff is collapsed.
Click to expand it.
labs/docker/docker-compose.yml
+
10
−
17
View file @
4fdd686c
version
:
'
2'
# export SERVER_DOMAIN=felipe.dev.mconf.com
# export EXTERNAL_IP=`dig +short $SERVER_DOMAIN`
# export SHARED_SECRET=`openssl rand -hex 16`
# export COTURN_REST_SECRET=`openssl rand -hex 16`
# export SCREENSHARE_EXTENSION_LINK=https://chrome.google.com/webstore/detail/mconf-screenshare/mbfngdphjegmlbfobcblikeefpidfncb
# export SCREENSHARE_EXTENSION_KEY=mbfngdphjegmlbfobcblikeefpidfncb
services
:
mongo
:
image
:
mongo:3.4
...
...
@@ -17,7 +10,7 @@ services:
restart
:
unless-stopped
bbb-html5
:
image
:
bbb-html5
image
:
${TAG_PREFIX}bbb-html5${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
mongo
...
...
@@ -29,7 +22,7 @@ services:
ROOT_URL
:
http://127.0.0.1/html5client
bbb-webhooks
:
image
:
bbb-webhooks
image
:
${TAG_PREFIX}bbb-webhooks${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
redis
...
...
@@ -38,13 +31,13 @@ services:
SHARED_SECRET
:
${SHARED_SECRET}
bbb-freeswitch
:
image
:
bbb-freeswitch
image
:
${TAG_PREFIX}
bbb-freeswitch
${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
coturn
bbb-webrtc-sfu
:
image
:
bbb-webrtc-sfu
image
:
${TAG_PREFIX}
bbb-webrtc-sfu
${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
redis
...
...
@@ -55,7 +48,7 @@ services:
REDIS_HOST
:
redis
coturn
:
image
:
coturn
image
:
${TAG_PREFIX}coturn${TAG_SUFFIX}
restart
:
unless-stopped
volumes
:
-
ssl-conf:/etc/nginx/ssl
...
...
@@ -75,14 +68,14 @@ services:
-
5349:5349/tcp
kurento
:
image
:
kurento
image
:
${TAG_PREFIX}kurento${TAG_SUFFIX}
restart
:
unless-stopped
environment
:
KMS_STUN_IP
:
${EXTERNAL_IP}
KMS_STUN_PORT
:
3478
bbb-apps-akka
:
image
:
bbb-apps-akka
image
:
${TAG_PREFIX}bbb-apps-akka${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
redis
...
...
@@ -90,7 +83,7 @@ services:
JAVA_OPTS
:
-Dredis.host=redis
bbb-fsesl-akka
:
image
:
bbb-fsesl-akka
image
:
${TAG_PREFIX}
bbb-fsesl-akka
${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
bbb-freeswitch
...
...
@@ -99,7 +92,7 @@ services:
JAVA_OPTS
:
-Dredis.host=redis -Dfreeswitch.esl.host=bbb-freeswitch
bbb-web
:
image
:
bbb-web
image
:
${TAG_PREFIX}bbb-web${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
redis
...
...
@@ -123,7 +116,7 @@ services:
# - db-greenlight:/usr/src/app/db/production
nginx
:
image
:
nginx
image
:
${TAG_PREFIX}nginx${TAG_SUFFIX}
restart
:
unless-stopped
links
:
-
bbb-webhooks
...
...
This diff is collapsed.
Click to expand it.
labs/docker/nginx-dhp/Dockerfile
+
1
−
1
View file @
4fdd686c
...
...
@@ -2,6 +2,6 @@ FROM tannerfe/alpine-openssl
WORKDIR
/root
COPY
entrypoint.sh /usr/local/bin/
COPY
docker-
entrypoint.sh /usr/local/bin/
CMD
["docker-entrypoint.sh"]
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