Light Hub Installation Process

Installing Light Hub:

  1. Set your CLI to work with the light hub:

    1. ol config hub --hub-url http://localhost:8080

  2. Also, in your project application.yml file, edit the URL and server-port, for example (check URL and server-port):

ol: license: key: ... flow: source-provider: HUB hub: api-key: ... project-name: bla-demo1 url: http://localhost:8080 agent: enabled: false server: port: 8081

 

Using an external database

Users who don’t need the authentication and authorization features provided by Keycloak and want to use the light hub in production can use an external postgres database by providing the following environment variables:

  • EXTERNAL_DB (boolean): false by default, specify true if you want to use an external database.

  • OL_DB_PORT: Port number for the external database.

  • OL_DB_HOST: Hostname or IP address of the external database server.

  • OL_DB_USER: Username for accessing the external database.

  • OL_DB_PASSWORD: Password for the specified database user.

  • OL_DB_NAME: Name of the database within the external database server.

  • OL_DB_POOL_SIZE: Connection pool size for the external database.

Example Usage:

EXTERNAL_DB=true OL_DB_PORT=5432 OL_DB_HOST=host.com OL_DB_USER=postgres OL_DB_PASSWORD=mypassword OL_DB_NAME=db OL_DB_POOL_SIZE=4