module/gerrit: add support for hooks
diff --git a/module/compose/scheme.sh b/module/compose/scheme.sh
index 0002fae..1310cf5 100644
--- a/module/compose/scheme.sh
+++ b/module/compose/scheme.sh
@@ -67,12 +67,16 @@
- ${_GERRIT_DKRC_ROOTFS_}/index:/var/gerrit/index
- ${_GERRIT_DKRC_ROOTFS_}/cache:/var/gerrit/cache
- ${_GERRIT_DKRC_ROOTFS_}/git:/var/gerrit/git
+ - ${_GERRIT_DKRC_HOOKS_D_}:${_GERRIT_HOOKS_CON_D_}
- ${_GERRIT_DKRC_ETC_D_}:/var/gerrit/etc
- ${_GERRIT_LOGS_D_}:/var/gerrit/logs
${compose_has_secure_store}
environment:
- CANONICAL_WEB_URL=${_GERRIT_CANON_URL_}
- LISTEN_URL=${_GERRIT_LISTEN_URL_}
+ - HOOKS_REMOTE_ALIAS=${_GERRIT_HOOKS_REMOTE_NAME_}
+ - HOOKS_REMOTE_HOST=${_APACHE_DKRC_FRONTEND_IP_}
+ - HOOKS_LOG_DIR=${_GERRIT_HOOKS_LOG_CON_D_}
depends_on:
- ${_APACHE_DKRC_SERVICE_}
networks: