system-config/playbooks/roles/ptgbot/files/docker-compose.yaml
Kendall Nelson 62e30e52de Setting Up Ansible For ptgbot
Heavily taken from statusbot, but removed wiki and twitter defaults.

Change-Id: I7b1958dbe37e5d25b8fde746235c88a4d6763ffd
2021-10-06 15:39:25 +11:00

19 lines
475 B
YAML

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