Light Hub Installation Process
Installing Light Hub:
Run the JAR with:
Download the version from download.openlegacy.com → “OpenLegacy Hub Enterprise” → in the dropdown button next to the zip select “light-hub.zip(zip)”
java -jar light-hub.jar
Run with Docker:
Select a version from the following registry: https://hub.docker.com/r/openlegacy/hub-enterprise-light/tags
docker run -p 8080:8080 -d openlegacy/hub-enterprise-light:<tag>
After starting Light Hub, you need to insert a license. Contact the OpenLegacy support team to get it.
To run a downloaded project, you must edit a few parameters in the CLI JSON config file and also in the projects application.yml file.
Set your CLI to work with the light hub:
ol config hub --hub-url http://localhost:8080
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, specifytrue
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