Add default password and improve README

This commit is contained in:
Tiago Daniel Jacobs 2019-12-09 00:46:05 -03:00
parent 14a49e83f3
commit 1ec6490c8f
3 changed files with 26 additions and 2 deletions

View File

@ -54,7 +54,7 @@ RUN systemctl disable systemd-update-utmp.service
# -- Finish startup
# Add a number there to force update of files on build
RUN echo "Finishing ... @12"
RUN echo "Finishing ... @13"
RUN mkdir /opt/docker-bbb/
RUN wget https://raw.githubusercontent.com/bigbluebutton/bbb-install/master/bbb-install.sh -O- | sed 's|https://\$PACKAGE_REPOSITORY|http://\$PACKAGE_REPOSITORY|g' > /opt/docker-bbb/bbb-install.sh
RUN chmod 755 /opt/docker-bbb/bbb-install.sh

View File

@ -13,12 +13,34 @@ cp privkey.pem certs/
docker-compose build bbb
NAME=bbb001 DOMAIN=bbbvm.imdt.com.br sh -c 'docker-compose run --name $NAME bbb'
```
## Defining an entry in your `/etc/hosts` file
In order to access the container, you need to get the IP address of container by running the following command:
```
docker exec -it bbb001 ifconfig eth0
```
After that, add a line in your `/etc/hosts` file with the full domain name specified at previous step.
## Useful commands
### Start container (after host reboot)
```
docker start bbb001
docker attach bbb001
```
### Stop the container
```
docker stop bbb001
```
### Kill the container (force exit)
```
docker kill bbb001
```
## MAC users
Docker for Mac OS doesn't allow direct access to container IP's.

View File

@ -26,6 +26,8 @@ mkdir /home/bbb
chown bbb /home/bbb
echo "bbb ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/bbb
RUN echo "bbb:bbb" | chpasswd
./bbb-install.sh -d -s "`hostname -f`" -v xenial-220-dev22a -a
sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml