system-config/playbooks/roles/matrix-eavesdrop/files/docker-compose.yaml
James E. Blair 82c966e6da Run matrix-eavesdrop on eavesdrop
Thin runs the new matrix-eavesdrop bot on the eavesdrop server.

It will write logs out to the limnoria logs directory, which is mounted
inside the container.

Change-Id: I867eec692f63099b295a37a028ee096c24109a2e
2021-07-28 18:34:58 -05:00

18 lines
477 B
YAML

# 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