docker/docker-compose.yml

52 lines
1.5 KiB
YAML
Raw Normal View History

2019-12-09 04:34:03 +01:00
version: '2'
2020-04-09 08:48:47 +02:00
2019-12-09 04:34:03 +01:00
services:
2020-04-09 02:11:32 +02:00
bbb:
image: bbb
hostname: meet.livingutopia.org
2019-12-09 04:34:03 +01:00
cap_add:
2020-04-09 02:11:32 +02:00
- SYS_NICE # for realtime scheduling
2020-04-09 08:02:08 +02:00
- SYS_ADMIN # for systemd
2019-12-09 04:34:03 +01:00
environment:
- container=docker
tmpfs:
- /run
- /run/lock
2020-04-08 06:36:27 +02:00
- /tmp:exec,mode=777
2019-12-09 04:34:03 +01:00
volumes:
2020-04-09 08:02:08 +02:00
- /sys/fs/cgroup:/sys/fs/cgroup:ro # for systemd
- ./setup.sh:/opt/setup.sh
2020-04-09 02:11:32 +02:00
- ./mod/freeswitch/vars.xml:/opt/freeswitch/conf/vars.xml
- ./mod/freeswitch/external.xml:/opt/freeswitch/conf/sip_profiles/external.xml
- ./mod/html5/systemd_start.sh:/usr/share/meteor/bundle/systemd_start.sh
- ./mod/html5/config.yml:/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml
- ./mod/web/override.conf:/etc/systemd/system/bbb-web.service.d/override.conf
- ./mod/web/bigbluebutton.properties:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
- ./mod/kurento/WebRtcEndpoint.conf.ini:/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
- ./mod/bbb-webrtc-sfu/config.yml:/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml
2020-04-09 08:48:47 +02:00
- ./mod/pad/settings.json:/usr/share/etherpad-lite/settings.json
2020-04-09 02:11:32 +02:00
network_mode: host
2020-04-09 08:48:47 +02:00
nginx:
image: nginx:1.17
ports:
- "80:80"
volumes:
- ./mod/nginx/bbb:/etc/nginx/bbb
- ./mod/nginx/bigbluebutton:/etc/nginx/conf.d/default.conf
networks:
- bluenet
extra_hosts:
- "host.docker.internal:10.7.7.1"
networks:
bluenet:
driver: bridge
ipam:
config:
- subnet: 10.7.7.0/24
gateway: 10.7.7.1