How to specify the ip to docker-compose the file for bbb?

Hi all, not Much kick. Just started to get into it all.
Can't write a docker-compose.file for Big Blue Button.
https://github.com/bigbluebutton/docker

There is a Dockerfile big blue button

he runs through
Docker run docker run-p 80:80/tcp -p 1935:1935/tcp -p 5066:5066/tcp -p 32730-32768:32730-32768/udp -p 2202:2202 --cap-add=NET_ADMIN --name bigbluebutton bigbluebutton/bigbluebutton -h MyIP

I wrote for this case docker-compose the file are all started and stopped.
But there is a problem, you need to specify the ip address as in Docker run is the key-h which indicates IP.
And in the logs shows the message
BigBlueButton is now starting up at this address

http:// MyIP
But when I do it via docker-compose there is no ip and this does not start the service itself while the container starts.

BigBlueButton is now starting up at this address

http://

docker-compose.yml
version: '3'
services:
bigbluebutton:
 #build: /opt/bbb
 #container_name: bigbluebutton
 image: bigbluebutton/bigbluebutton
ports:
 - "80:80"
expose:
 - "1935/tcp"
 - "5066/tcp"
 - "2202"


Docker File
FROM ubuntu:16.04
MAINTAINER ffdixon@bigbluebutton.org

ENV DEBIAN_FRONTEND noninteractive
# RUN echo 'Acquire::http::Proxy "http://192.168.2.69:3142";' > /etc/apt/apt.conf.d/01proxy
RUN apt-get update && apt-get install -y wget apt-transport-https

RUN echo "deb http://ubuntu.bigbluebutton.org/xenial-200 bigbluebutton-xenial main" | tee /etc/apt/sources.list.d/bigbluebutton.list
RUN wget http://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | apt-key add -

RUN apt-get install -y language-pack-en
RUN update-locale LANG=en_US.UTF-8

RUN apt-get update && apt-get install -y wget software-properties-common

RUN add-apt-repository ppa:jonathonf/ffmpeg-4-y
RUN LC_CTYPE=en_US.UTF-8 add-apt-repository ppa:rmescandon/yq-y
RUN apt-get update && apt-get-y dist-upgrade

# -- Setup tomcat7 to run under docker
RUN apt-get install -y \
 haveged \
 net-tools \
 supervisor \
 sudo \
tomcat7

RUN sed -i 's|securerandom.source=file:/dev/random|securerandom.source=file:/dev/urandom|g' /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security
ADD mod/tomcat7 /etc/init.d/tomcat7
RUN chmod +x /etc/init.d/tomcat7

# -- Install BigBlueButton
RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
RUN apt-get install -y bigbluebutton
RUN apt-get install -y bbb-demo

# -- Install mongodb (for HTML5 client)
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
RUN echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
RUN sudo apt-get update && sudo apt-get install -y mongodb-org curl

# -- Install nodejs (for HTML5 client)
RUN apt-get install -y apt-transport-https
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN echo 'deb http://deb.nodesource.com/node_8.x xenial main' > /etc/apt/sources.list.d/nodesource.list
RUN echo 'deb-src http://deb.nodesource.com/node_8.x xenial main' >> /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install -y nodejs

# -- Install HTML5 client
RUN apt-get install -y bbb-html5

RUN apt-get update
RUN apt-get install -y vim mlocate coturn xmlstarlet

# -- Install supervisor to run all the BigBlueButton processes (replaces systemd)
RUN apt-get install -y supervisor
RUN mkdir -p /var/log/supervisor
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf

# -- Modify FreeSWITCH event_socket.conf.xml to listen to IPV4
ADD mod/event_socket.conf.xml /opt/freeswitch/etc/freeswitch/autoload_configs
ADD mod/external.xml /opt/freeswitch/conf/sip_profiles/external.xml

# RUN apt-get install -y bbb-run

# -- Finish startup
ADD setup.sh /root/setup.sh
ENTRYPOINT ["/root/setup.sh"]
CMD []
April 9th 20 at 10:54
1 answer
April 9th 20 at 10:56
Each of these is a single value, analogous to its counterpart docker run. Note that mac_address is a legacy option.

Link

-h, --hostname string Container host name >>> hostname: yourhostname
version: '3'
services:
bigbluebutton:
 image: bigbluebutton/bigbluebutton
 hostname: yourhostname
ports:
 - "80:80"
expose:
 - "1935/tcp"
 - "5066/tcp"
 - "2202"
Hello thanks for the reply.
But with the same result.
BigBlueButton is now starting up at this address

http://

I think what is needed in applications vidimi whether to register the ip
maybe environmental ? - Travon7 commented on April 9th 20 at 10:59

Find more questions by tags DevOpsDockerUbuntuLinux