Skip to content

Commit

Permalink
docs: add message_db.encoding to config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Mar 1, 2024
1 parent fadca88 commit 0c1f925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/config/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ This document contains all the environment variables which are available for thi
| `MESSAGE_DB_PORT` | Integer | The MariaDB port to connect to | 3306 |
| `MESSAGE_DB_USERNAME` | String | The MariaDB username | postal |
| `MESSAGE_DB_PASSWORD` | String | The MariaDB password | |
| `MESSAGE_DB_ENCODING` | String | The encoding to use when connecting to the MariaDB database | utf8mb4 |
| `MESSAGE_DB_DATABASE_NAME_PREFIX` | String | The MariaDB prefix to add to database names | postal |
| `LOGGING_RAILS_LOG_ENABLED` | Boolean | Enable the default Rails logger | false |
| `LOGGING_SENTRY_DSN` | String | A DSN which should be used to report exceptions to Sentry | |
Expand Down
2 changes: 2 additions & 0 deletions doc/config/yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ message_db:
username: postal
# The MariaDB password
password:

Check failure

Code scanning / CodeQL

Empty password in configuration file High

Empty password in configuration file.
# The encoding to use when connecting to the MariaDB database
encoding: utf8mb4
# The MariaDB prefix to add to database names
database_name_prefix: postal

Expand Down

0 comments on commit 0c1f925

Please sign in to comment.