Skip to content

Commit

Permalink
CH-32 Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Sep 10, 2024
1 parent 0e28210 commit f334040
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion docs/applications/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f334040

Please sign in to comment.