mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-23 23:28:57 +01:00
embed config files in image while building instead of dynamically at runtime
This commit is contained in:
parent
596fdd61e3
commit
d297877567
@ -21,21 +21,8 @@ services:
|
||||
volumes:
|
||||
- bigbluebutton:/var/bigbluebutton
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro # for systemd
|
||||
- ./mod/core/entrypoint.sh:/entrypoint.sh
|
||||
- ./mod/core/red5.properties:/usr/share/red5/conf/red5.properties
|
||||
- ./mod/core/bigbluebutton.properties:/usr/share/red5/webapps/bigbluebutton/WEB-INF/bigbluebutton.properties
|
||||
- ./mod/core/bigbluebutton-sip.properties:/usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
|
||||
- ./mod/freeswitch/vars.xml:/opt/freeswitch/conf/vars.xml.tmpl
|
||||
- ./mod/freeswitch/external.xml:/opt/freeswitch/conf/sip_profiles/external.xml
|
||||
- ./mod/freeswitch/acl.conf.xml:/opt/freeswitch/conf/autoload_configs/acl.conf.xml
|
||||
- ./mod/freeswitch/event_socket.conf.xml:/opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
|
||||
- ./mod/freeswitch/dialplan_public.xml:/opt/freeswitch/conf/dialplan/public.xml
|
||||
- ./conf/sip_profiles:/opt/freeswitch/conf/sip_profiles/external
|
||||
- ./conf/dialplan_public:/opt/freeswitch/conf/dialplan/public_docker
|
||||
- ./mod/web/bigbluebutton.properties:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties.tmpl
|
||||
- ./mod/core/bigbluebutton.yml:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml
|
||||
- ./mod/bbb-apps-akka/application.conf:/usr/share/bbb-apps-akka/conf/application.conf.tmpl
|
||||
- ./mod/bbb-fsesl-akka/application.conf:/etc/bbb-fsesl-akka/application.conf
|
||||
network_mode: host
|
||||
|
||||
nginx:
|
||||
@ -133,10 +120,6 @@ services:
|
||||
ETHERPAD_API_KEY: ${ETHERPAD_API_KEY}
|
||||
networks:
|
||||
- bbb-net
|
||||
volumes:
|
||||
- ./mod/html5/entrypoint.sh:/entrypoint.sh
|
||||
- ./mod/html5/settings.yml:/app/programs/server/assets/app/config/settings.yml.tmpl
|
||||
|
||||
|
||||
volumes:
|
||||
bigbluebutton:
|
||||
|
@ -63,6 +63,23 @@ RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
# -- copy configuration files
|
||||
COPY red5.properties /usr/share/red5/conf/red5.properties
|
||||
COPY bigbluebutton.properties /usr/share/red5/webapps/bigbluebutton/WEB-INF/bigbluebutton.properties
|
||||
COPY bigbluebutton-sip.properties /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
|
||||
COPY bigbluebutton.yml /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml
|
||||
|
||||
COPY freeswitch/vars.xml /opt/freeswitch/conf/vars.xml.tmpl
|
||||
COPY freeswitch/external.xml /opt/freeswitch/conf/sip_profiles/external.xml
|
||||
COPY freeswitch/acl.conf.xml /opt/freeswitch/conf/autoload_configs/acl.conf.xml
|
||||
COPY freeswitch/event_socket.conf.xml /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
|
||||
COPY freeswitch/dialplan_public.xml /opt/freeswitch/conf/dialplan/public.xml
|
||||
|
||||
COPY web/bigbluebutton.properties /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties.tmpl
|
||||
COPY bbb-apps-akka/application.conf /usr/share/bbb-apps-akka/conf/application.conf.tmpl
|
||||
COPY bbb-fsesl-akka/application.conf /etc/bbb-fsesl-akka/application.conf
|
||||
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD []
|
||||
|
||||
|
@ -28,5 +28,6 @@ RUN cd /app/programs/server && npm install && npm cache clear --force
|
||||
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY settings.yml /app/programs/server/assets/app/config/settings.yml.tmpl
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user