system-config/playbooks/roles/ptgbot/files/docker-compose.yaml
Clark Boylan 2c458628a3 Revert "Move pull external IRC bot images from quay.io"
This reverts commit 845597cc7c72340ac66cc2d79e84bbf029dcc589.

OpenDev is moving back to docker.io to preserve speculative container
image testing.

Depends-On: https://review.opendev.org/c/opendev/gerritbot/+/884286
Depends-On: https://review.opendev.org/c/opendev/statusbot/+/884287
Depends-On: https://review.opendev.org/c/openstack/ptgbot/+/884288
Change-Id: I0c19e67364a8fe62206cc59ff32c0d0dec7e48cb
2023-05-24 13:42:47 -07: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