DBP Relay Core Bundle
Bundle Config
Created via ./bin/console config:dump-reference DbpRelayCoreBundle | sed '/^$/d'
# Default configuration for "DbpRelayCoreBundle"
dbp_relay_core:
# Some string identifying the current build (commit hash)
build_info: ~ # Example: deadbeef
# Some URL identifying the current build (URL to the commit on some git web interface)
build_info_url: ~ # Example: 'https://gitlab.example.com/project/-/commit/deadbeef'
# The title text of the API docs page
docs_title: 'Relay API Gateway'
# The description text of the API docs page (supports markdown)
docs_description: '*part of the [Digital Blueprint](https://gitlab.tugraz.at/dbp) project*'
Configuration
To handle locking you need to set an environment variable LOCK_DSN
in your .env
file or by any other means.
For example, you could use Redis for distributed locking or semaphore
for local locking.
Example:
# Redis
LOCK_DSN=redis://redis:6379/
# Semaphore
LOCK_DSN=semaphore
For projects that also use the Symfony Messenger you also
need to set an environment variable MESSENGER_TRANSPORT_DSN
in your .env
file or by any other means.
Redis is also a way for doing this.
Example:
MESSENGER_TRANSPORT_DSN=redis://redis:6379/local-messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0