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

services:
  eavesdrop:
    image: docker.io/opendevorg/matrix-eavesdrop:latest
    network_mode: host
    restart: always
    logging:
      driver: syslog
      options:
        tag: "docker-matrix-eavesdrop"
    volumes:
      - /var/lib/matrix-eavesdrop/data:/data
      - /var/lib/matrix-eavesdrop/config:/config
      - /var/lib/limnoria/opendev/logs/ChannelLogger/oftc:/logs