version: '2.3' services: # uncomment for build only: docker-compose build --no-cache # docker: # build: ./docker # image: bigbluebutton-docker bigbluebutton: build: ./bigbluebutton restart: always hostname: bigbluebutton container_name: bigbluebutton command: /bin/systemd --system --unit=multi-user.target /bin/bash entrypoint: - /bin/bash - /entrypoint.sh volumes: - /var/run/docker.sock:/var/run/docker.sock - /sys/fs/cgroup:/sys/fs/cgroup:ro - ./entrypoint.sh:/entrypoint.sh # - ./db:/root/greenlight/db - ./bigbluebutton/docker-compose.yml-greenlight:/root/greenlight/docker-compose.yml # - ./bigbluebutton/.env:/root/greenlight/.env - ./bigbluebutton/vars.xml:/opt/freeswitch/etc/freeswitch/vars.xml:ro - ./bigbluebutton/default.yml:/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml:ro - ./bigbluebutton/bigbluebutton:/etc/nginx/sites-available/bigbluebutton:ro - ./bigbluebutton/turn-stun-servers.xml:/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml:ro - ./bigbluebutton/sip.nginx:/etc/bigbluebutton/nginx/sip.nginx:ro - ./bigbluebutton/greenlight.nginx:/etc/bigbluebutton/nginx/greenlight.nginx:ro - ./bigbluebutton/external.xml:/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml:ro - ./bigbluebutton/wss.pem:/opt/freeswitch/etc/freeswitch/tls/wss.pem:ro - ./bigbluebutton/switch.conf.xml:/opt/freeswitch/conf/autoload_configs/switch.conf.xml:ro - ./bigbluebutton/settings.yml:/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml:ro - ./bigbluebutton/BaseRtpEndpoint.conf.ini:/etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini:ro # - ./bigbluebutton/internal.xml:/opt/freeswitch/etc/freeswitch/sip_profiles/internal.xml:ro - ./bigbluebutton/WebRtcEndpoint.conf.ini:/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini:ro - ./bigbluebutton/bigbluebutton.properties:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties:ro # - ./bigbluebutton/default:/etc/nginx/sites-available/default:ro - ./bigbluebutton/autoload_configs:/opt/freeswitch/etc/freeswitch/autoload_configs:ro # - ./bigbluebutton/sip.js:/usr/share/meteor/bundle/programs/web.browser/app/compatibility/sip.js:ro # - ./bigbluebutton/sip.js:/usr/share/meteor/bundle/programs/web.browser.legacy/app/compatibility/sip.js:ro # - ./bigbluebutton/kurento-extension.js:/usr/share/meteor/bundle/programs/web.browser/app/compatibility/kurento-extension.js:ro # - ./bigbluebutton/kurento-extension.js:/usr/share/meteor/bundle/programs/web.browser.legacy/app/compatibility/kurento-extension.js:ro - ./bigbluebutton/presentation.rb:/usr/local/bigbluebutton/core/scripts/publish/presentation.rb:ro environment: - NAME=docker - DOMAIN=localhost - container=docker cap_add: - NET_ADMIN - SYS_ADMIN tmpfs: - /run - /run/lock - /tmp:exec,mode=777 expose: - "80" ports: - "1935:1935" - "5066:5066" - "5080:5080" - "5080:5080/udp" - "7443:7443" - "7443:7443/udp" - "8888:8888" - "16384-16584:16384-16584/udp" # network_mode: host networks: mynet: ipv4_address: 172.51.0.101 ipv6_address: 2001:db8:4::101 networks: mynet: enable_ipv6: true driver: bridge ipam: config: - subnet: 172.51.0.0/24 - subnet: 2001:db8:4::1/64