Tristan Cacqueray c4b0a8950d Run matrix-gerritbot on eavesdrop
Thin runs the new gerritbot-matrix bot on the eavesdrop server.

Change-Id: Ic11ca46aa4da61d5b80a8996ad900fdf83ab70dc
2021-07-30 09:16:42 -05:00

24 lines
703 B
Django/Jinja

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
gerritbot-matrix:
image: {{ gerritbot_matrix_image }}
network_mode: host
restart: always
logging:
driver: syslog
options:
tag: "docker-matrix-gerritbot"
environment:
MATRIX_TOKEN: {{ gerritbot_matrix_access_token }}
volumes:
- /var/lib/matrix-gerritbot/config:/config
- /var/lib/matrix-gerritbot/ssh:/root/.ssh
command: >-
--gerrit-host {{ gerritbot_gerrit_host }}
--gerrit-user {{ gerritbot_gerrit_user }}
--homeserver-url {{ gerritbot_matrix_homeserver }}
--config-file /config/gerritbot.dhall