Merge "Update the gerritbot-matrix image to support arbitrary uid with docker"

This commit is contained in:
Zuul 2021-12-06 23:26:12 +00:00 committed by Gerrit Code Review
commit 8d192c1c4a
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
gerritbot_gid: 11000
gerritbot_uid: 11000
gerritbot_matrix_version: g2wr8krm32cp8afrw9qq3cxilsy2nsk0
gerritbot_matrix_version: i0gwp8pwh44myqmzzif3qgissh3mavkm
gerritbot_matrix_image: quay.io/software-factory/gerritbot-matrix:{{ gerritbot_matrix_version }}
gerritbot_matrix_prometheus_port: 9001

View File

@ -6,9 +6,7 @@ services:
gerritbot-matrix:
image: {{ gerritbot_matrix_image }}
network_mode: host
# TODO: Continue sorting out how to make this work with the
# image published by SF.io
#user: "{{ gerritbot_uid }}:{{ gerritbot_gid }}"
user: "{{ gerritbot_uid }}:{{ gerritbot_gid }}"
restart: always
logging:
driver: syslog