2c458628a3
This reverts commit 845597cc7c
.
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
18 lines
465 B
Django/Jinja
18 lines
465 B
Django/Jinja
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
gerritbot:
|
|
image: docker.io/opendevorg/gerritbot:latest
|
|
network_mode: host
|
|
user: "{{ gerritbot_uid }}:{{ gerritbot_gid }}"
|
|
restart: always
|
|
logging:
|
|
driver: syslog
|
|
options:
|
|
tag: "docker-gerritbot"
|
|
volumes:
|
|
# This contains the main config, channel config, and ssh key
|
|
- /etc/gerritbot:/etc/gerritbot:ro
|