# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'

services:
  ircbot:
    image: docker.io/opendevorg/ircbot:latest
    network_mode: host
    restart: always
    logging:
      driver: syslog
      options:
        tag: "docker-ircbot"
    environment:
      # This allows the meetbot plugin to find our config
      PYTHONPATH: /var/lib/limnoria/ircmeeting
    volumes:
      - /var/lib/limnoria:/var/lib/limnoria