system-config/playbooks/roles/statusbot/files/docker-compose.yaml

19 lines
502 B
YAML

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
statusbot:
image: docker.io/opendevorg/statusbot:latest
network_mode: host
restart: always
logging:
driver: syslog
options:
tag: "docker-statusbot"
volumes:
# This contains the main config, channel config, and ssh key
- /etc/statusbot:/etc/statusbot
- /var/lib/statusbot:/var/lib/statusbot
- /var/log/statusbot:/var/log/statusbot