# 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