Skip to content
Snippets Groups Projects
Select Git revision
  • 761a90658d3a4a9d0d7799be4213c5cb6b6a85b2
  • main default protected
  • register-logging-channel
  • expr-lang
  • ci-82
  • attr-events
  • locale-wip
  • custom-routes
  • v0.1.85
  • v0.1.84
  • v0.1.83
  • v0.1.82
  • v0.1.81
  • v0.1.80
  • v0.1.79
  • v0.1.78
  • v0.1.77
  • v0.1.76
  • v0.1.75
  • v0.1.74
  • v0.1.73
  • v0.1.72
  • v0.1.71
  • v0.1.70
  • v0.1.69
  • v0.1.68
  • v0.1.67
  • v0.1.65
28 results

dbp-relay-core-bundle

DBP Relay Core Bundle

GitLab | Packagist

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. The usual way would be to use Redis for locking.

Example:

LOCK_DSN=redis://redis:6379/

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 the best way for this.

Example:

MESSENGER_TRANSPORT_DSN=redis://redis:6379/local-messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0