From f334040bf6ff9b7ca291935f1650bf696c002c06 Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Tue, 10 Sep 2024 13:07:27 +0200 Subject: [PATCH] CH-32 Add documentation --- docs/applications/databases.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/applications/databases.md b/docs/applications/databases.md index 89bd2868b..96498f6cd 100644 --- a/docs/applications/databases.md +++ b/docs/applications/databases.md @@ -35,6 +35,9 @@ harness: `image_ref`: Optional setting, used for referencing a base/static image from the build. The complete image name with tag will automagically being generated from the values.yaml file. This setting overrides the `image` setting specific for the database type (e.g. postgres/image). Note: the referenced image must be included as a build dependency in order to be built by the pipelines. +`expose`: This option allows you to expose the database port through a load balancer. +Do not use on production! + ### Specific database settings @@ -91,7 +94,24 @@ harness #### Neo4j -Not yet supported! +Defaults: +```yaml +harness + database: + neo4j: + dbms_security_auth_enabled: "false" + image: neo4j:5 + memory: + heap: { initial: 64M, max: 128M } + pagecache: { size: 64M } + size: 256M + ports: + - { name: http, port: 7474 } + - { name: bolt, port: 7687 } +``` + +Not that the default resource values are not optimized and increasing the default memory is recommended for production. +Mapping memory configuration with Kubernetes resource requests is also recommended. ## Programmatic API