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
This commit is contained in:
Tristan Cacqueray 2021-12-06 20:33:00 +00:00
parent d4f98bb426
commit 990b9c1905
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
gerritbot_gid: 11000 gerritbot_gid: 11000
gerritbot_uid: 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_image: quay.io/software-factory/gerritbot-matrix:{{ gerritbot_matrix_version }}
gerritbot_matrix_prometheus_port: 9001 gerritbot_matrix_prometheus_port: 9001

View File

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