Add health-check plugin to dockerised environment
Current components setup:
- 2 gerrit instances
- replication plugin
- multi-site plugin
- healthcheck
Still need to add and configure:
- haproxy
Feature: Issue 10552
Change-Id: I35118181309e72ef188c3fe568d05bdd568278cf
diff --git a/dockerised_local_env/gerrit-common/healthcheck.config b/dockerised_local_env/gerrit-common/healthcheck.config
new file mode 100644
index 0000000..849e23f
--- /dev/null
+++ b/dockerised_local_env/gerrit-common/healthcheck.config
@@ -0,0 +1,9 @@
+[healthcheck]
+ timeout = 10s
+
+[healthcheck "querychanges"]
+ # No changes available when Gerrit is installed from scratch
+ enabled = false
+
+[healthcheck "auth"]
+ username = "admin"
\ No newline at end of file