-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add missing configurations #1000
base: main
Are you sure you want to change the base?
Changes from 5 commits
577d3e3
f941b0c
c513bca
e38dcd1
7233b45
bc003c1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -62,6 +62,7 @@ These settings control how `finalize` connects to the RabbitMQ message broker. | |||||||||||
- `BROKER_USER`: username to connect to RabbitMQ | ||||||||||||
- `BROKER_PASSWORD`: password to connect to RabbitMQ | ||||||||||||
- `BROKER_PREFETCHCOUNT`: Number of messages to pull from the message server at the time (default to `2`) | ||||||||||||
- `BROKER_EXCHANGE`= the exchange name (i.e., `sda`) | ||||||||||||
|
||||||||||||
### PostgreSQL Database settings | ||||||||||||
|
||||||||||||
|
@@ -126,3 +127,30 @@ and if `*_TYPE` is `POSIX`: | |||||||||||
|
||||||||||||
- `*_LOCATION`: POSIX path to use as storage root | ||||||||||||
|
||||||||||||
### Required settings (Example) | ||||||||||||
|
||||||||||||
The following configuration variables are essential for a successful setup. | ||||||||||||
|
||||||||||||
- `BROKER_HOST`= | ||||||||||||
- `BROKER_PORT`= | ||||||||||||
- `BROKER_USER`= | ||||||||||||
- `BROKER_PASSWORD`= | ||||||||||||
- `BROKER_VHOST`= | ||||||||||||
- `BROKER_QUEUE`= | ||||||||||||
- `BROKER_EXCHANGE`= | ||||||||||||
- `BROKER_ROUTINGKEY`= | ||||||||||||
- `BROKER_ROUTINGERROR`= | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
ROUTINGERROR is being deprecated |
||||||||||||
- `BROKER_SSL`= | ||||||||||||
- `BROKER_VERIFYPEER`= | ||||||||||||
- `BROKER_CACERT`= | ||||||||||||
- `BROKER_CLIENTCERT`= | ||||||||||||
- `BROKER_CLIENTKEY`= | ||||||||||||
Comment on lines
+144
to
+147
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. only if tls is enabled
Comment on lines
+144
to
+147
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only if |
||||||||||||
- `DB_HOST`= | ||||||||||||
- `DB_PORT`= | ||||||||||||
- `DB_USER`= | ||||||||||||
- `DB_PASSWORD`= | ||||||||||||
- `DB_DATABASE`= | ||||||||||||
- `DB_SSLMODE`= | ||||||||||||
- `DB_CLIENTCERT`= | ||||||||||||
- `DB_CLIENTKEY`= | ||||||||||||
Comment on lines
+154
to
+155
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. only if tls in enabled.
Comment on lines
+154
to
+155
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Only if |
||||||||||||
- `LOG_LEVEL`= |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -49,6 +49,23 @@ These settings control how `intercept` connects to the RabbitMQ message broker. | |||||
- `BROKER_QUEUE`: message queue to read messages from (commonly: `from_cega`) | ||||||
- `BROKER_USER`: username to connect to RabbitMQ | ||||||
- `BROKER_PASSWORD`: password to connect to RabbitMQ | ||||||
- `BROKER_VHOST`= the virtual host of the exchange (i.e., `test`) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- `BROKER_EXCHANGE`= the exchange name (i.e., `sda`) | ||||||
|
||||||
### PostgreSQL Database settings: | ||||||
|
||||||
- `DB_HOST`: hostname for the postgresql database | ||||||
- `DB_PORT`: database port (commonly: `5432`) | ||||||
- `DB_USER`: username for the database | ||||||
- `DB_PASSWORD`: password for the database | ||||||
- `DB_DATABASE`: database name (i.e., `sda`) | ||||||
- `DB_SSLMODE`: The TLS encryption policy to use for database connections ([See Docs](https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-PROTECTION)), valid options are: | ||||||
- `disable` | ||||||
- `allow` | ||||||
- `prefer` | ||||||
- `require` | ||||||
- `verify-ca` | ||||||
- `verify-full` | ||||||
|
||||||
### Logging settings | ||||||
|
||||||
|
@@ -61,3 +78,23 @@ These settings control how `intercept` connects to the RabbitMQ message broker. | |||||
- `error` | ||||||
- `fatal` | ||||||
- `panic` | ||||||
|
||||||
### Required settings (Example) | ||||||
|
||||||
The following configuration variables are essential for a successful setup. | ||||||
|
||||||
- `BROKER_HOST`= | ||||||
- `BROKER_PORT`= | ||||||
- `BROKER_USER`= | ||||||
- `BROKER_PASSWORD`= | ||||||
- `BROKER_QUEUE`= | ||||||
- `BROKER_VHOST`= | ||||||
- `BROKER_EXCHANGE`= | ||||||
- `DB_HOST`= | ||||||
- `DB_PORT`= | ||||||
- `DB_USER`= | ||||||
- `DB_PASSWORD`= | ||||||
- `DB_DATABASE`= | ||||||
- `DB_SSLMODE`= | ||||||
- `LOG_LEVEL`= | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow the existing syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The setting BROKER_EXCHANGE is
only
needed if the MQ is configured in that way.Do not use the preconfigured MQ and DB as templates since they are not designed to be used in a production setting.