Skip to content

Commit f334040

Browse files
committed
CH-32 Add documentation
1 parent 0e28210 commit f334040

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

docs/applications/databases.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ harness:
3535

3636
`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.
3737

38+
`expose`: This option allows you to expose the database port through a load balancer.
39+
Do not use on production!
40+
3841

3942
### Specific database settings
4043

@@ -91,7 +94,24 @@ harness
9194

9295
#### Neo4j
9396

94-
Not yet supported!
97+
Defaults:
98+
```yaml
99+
harness
100+
database:
101+
neo4j:
102+
dbms_security_auth_enabled: "false"
103+
image: neo4j:5
104+
memory:
105+
heap: { initial: 64M, max: 128M }
106+
pagecache: { size: 64M }
107+
size: 256M
108+
ports:
109+
- { name: http, port: 7474 }
110+
- { name: bolt, port: 7687 }
111+
```
112+
113+
Not that the default resource values are not optimized and increasing the default memory is recommended for production.
114+
Mapping memory configuration with Kubernetes resource requests is also recommended.
95115

96116
## Programmatic API
97117

0 commit comments

Comments
 (0)