Skip to content
Snippets Groups Projects
Select Git revision
  • d4a239fd573f66dc828c80da5632569a74ff33cd
  • 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

  • Clone with SSH
  • Clone with HTTPS
  • 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.

    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