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

This change pulls in https://softwarefactory-project.io/r/c/software-factory/gerritbot-matrix/+/23348 to achieve abritary uid with docker.

Change-Id: I43198af4feebd7f175ffdede376e2e4d19928d62
changes/91/820591/1
Tristan Cacqueray 1 year ago
parent d4f98bb426
commit 990b9c1905

@ -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

@ -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

Loading…
Cancel
Save