Skip to content

Commit

Permalink
Merge pull request #6940 from Ocelot-Social-Community/6939-add-neo4j-…
Browse files Browse the repository at this point in the history
…default-database-name-to-readme

docs(other): add new neo4j env for default database name to readmes
  • Loading branch information
Tirokk authored Jan 23, 2024
2 parents 8c83030 + 324a67e commit c705963
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
15 changes: 13 additions & 2 deletions deployment/TODO-next-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@

When you introduce a new version and branding and deploy it on your network, you need to consider the following changes and actions:

## Version >= 3.3.0 with 'ocelotDockerVersionTag' 3.3.0-XXX
## Version >= 3.1.3 with 'ocelotDockerVersionTag' 3.1.3-XXX

- We have the new option to configure DKIM for sent e-mails in environment variables (`.env` or `values.yaml`), see [deployment-values.md](deployment-values.md):
- We have the new option to configure the default name of the Neo4j database to be used for operations and commands in environment variables (`.env`, `docker-compose.yml` or `values.yaml`).
For more details see [deployment-values.md](deployment-values.md):

```yaml
DBMS_DEFAULT_DATABASE: "graph.db"
```
The default value is `neo4j` if it is not set.

## Version >= 3.1.0 with 'ocelotDockerVersionTag' 3.1.0-555

- We have the new option to configure DKIM for sent e-mails in environment variables (`.env`, `docker-compose.yml` or `values.yaml`), see [deployment-values.md](deployment-values.md):
- `SMTP_DKIM_DOMAINNAME=`
- `SMTP_DKIM_KEYSELECTOR=`
- `SMTP_DKIM_PRIVATKEY=`
Expand Down
22 changes: 21 additions & 1 deletion deployment/deployment-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Sometimes it is enough to create an SPF record in your DNS.

### DKIM

However, if you need DKIM authorization and verification, you must set the appropriate environment variables:
However, if you need DKIM authorization and verification, you must set the appropriate environment variables in: `.env`, `docker-compose.yml` or Helm script `values.yaml`:

```bash
SMTP_DKIM_DOMAINNAME=<your e-mail sender domain>
Expand All @@ -36,3 +36,23 @@ To create the private and public DKIM key, see here:
Information about the required PEM format can be found here:

<https://docs.progress.com/bundle/datadirect-hybrid-data-pipeline-installation-46/page/PEM-file-format.html>

## Neo4j Database

We have several configuration options for our Neo4j database.

### DBMS_DEFAULT_DATABASE – Default Database Name to be Used

If you need to set the default database name in Neo4j to be used for all operations and terminal commands like our backup scripts, you must set the appropriate environment variable in: `.env`, `docker-compose.yml` or Helm script `values.yaml`:

```yaml
DBMS_DEFAULT_DATABASE: "graph.db"
```
The default value is `neo4j` if it is not set.

As example see files:

- `neo4j/.env.template`
- `deployment/docker-compose.yml`
- `deployment/configurations/stage.ocelot.social/kubernetes/values.yaml.template`
1 change: 1 addition & 0 deletions neo4j/.env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=letmein
# DBMS_DEFAULT_DATABASE="neo4j"

0 comments on commit c705963

Please sign in to comment.