<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>MeetBot</title><revhistory><revision><revnumber>2</revnumber><date>2017-02-22 15:22:25</date><authorinitials>macsp.switch.ch</authorinitials></revision><revision><revnumber>1</revnumber><date>2016-12-03 08:56:18</date><authorinitials>2001:620:0:69::100</authorinitials></revision></revhistory></articleinfo><para>Tested on Ubuntu Xenial </para><para>Using this docker container: <ulink url="https://hub.docker.com/r/edacoreinfra/meetbot/"/> <ulink url="https://github.com/edacore-infra/docker-meetbot"/> </para><para>Take a very small VM dedicated for this: </para><screen><![CDATA[sudo su
mkdir -p /root/docker-meetbot/conf
mkdir -p /root/docker-meetbot/logs
mkdir -p /root/docker-meetbot/data
echo "deb http://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D
sudo apt-get update
sudo apt-get install docker-engine
docker run --name="meetbot-running" -d --network=host \
          --env NICK="meetbot-ninux" \
          --env IRC_SERVERS="irc.freenode.net:6667" \
          --env IRC_CHANNELS="#ninux.org" \
          --env URL_INFO="http://meetbot.ninux.org" \
          --env LOG_URL_PREFIX="http://meetbot.ninux.org" \
          --env LOG_DIR="/data/public_html/" \
          --env LOG_PATTERN="%(meetingname)s/%%Y/%(meetingname)s.%%F-%%H.%%M" \
          -v /root/docker-meetbot/conf:/conf \
          -v /root/docker-meetbot/data:/data \
          -v /root/docker-meetbot/logs:/logs edacoreinfra/meetbot]]></screen><para>Use a small web server to serve /root/docker-meetbot/data </para><screen><![CDATA[docker run --network=host --name some-nginx \
       -v /root/docker-meetbot/data/public_html/:/usr/share/nginx/html:ro \
       -v /root/default.conf:/etc/nginx/conf.d/default.conf \
       -d nginx]]></screen><screen><![CDATA[root@meetbot:~# cat default.conf
server {
    listen       80;
    server_name  localhost;
]]><![CDATA[
    #charset koi8-r;
    #access_log  /var/log/nginx/log/host.access.log  main;
]]><![CDATA[
    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;
        autoindex on;
        autoindex_exact_size off;
        autoindex_localtime on;
    }
]]><![CDATA[
    #error_page  404              /404.html;
]]><![CDATA[
    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }
]]><![CDATA[
    # proxy the PHP scripts to Apache listening on 127.0.0.1:80
    #
    #location ~ \.php$ {
    #    proxy_pass   http://127.0.0.1;
    #}
]]><![CDATA[
    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    #location ~ \.php$ {
    #    root           html;
    #    fastcgi_pass   127.0.0.1:9000;
    #    fastcgi_index  index.php;
    #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
    #    include        fastcgi_params;
    #}
]]><![CDATA[
    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny  all;
    #}
}]]></screen></article>