forked from extern/docker
Add default password and improve README
This commit is contained in:
parent
14a49e83f3
commit
1ec6490c8f
@ -54,7 +54,7 @@ RUN systemctl disable systemd-update-utmp.service
|
|||||||
|
|
||||||
# -- Finish startup
|
# -- Finish startup
|
||||||
# Add a number there to force update of files on build
|
# 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 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 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
|
RUN chmod 755 /opt/docker-bbb/bbb-install.sh
|
||||||
|
24
README.md
24
README.md
@ -13,12 +13,34 @@ cp privkey.pem certs/
|
|||||||
docker-compose build bbb
|
docker-compose build bbb
|
||||||
NAME=bbb001 DOMAIN=bbbvm.imdt.com.br sh -c 'docker-compose run --name $NAME bbb'
|
NAME=bbb001 DOMAIN=bbbvm.imdt.com.br sh -c 'docker-compose run --name $NAME bbb'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Defining an entry in your `/etc/hosts` file
|
## 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
|
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
|
## MAC users
|
||||||
Docker for Mac OS doesn't allow direct access to container IP's.
|
Docker for Mac OS doesn't allow direct access to container IP's.
|
||||||
|
|
||||||
|
2
setup.sh
2
setup.sh
@ -26,6 +26,8 @@ mkdir /home/bbb
|
|||||||
chown bbb /home/bbb
|
chown bbb /home/bbb
|
||||||
echo "bbb ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/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
|
./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
|
sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user