Deploying an Agent
This page describes deploying an Lenses Agent via Docker.
Running the Docker
docker run --name lenses-agent \
-v $(pwd)/provisioning.yaml:/mnt/provision-secrets/provisioning.yaml \
-v $(pwd)/lenses-agent.conf:/data/lenses-agent.conf \
-e LENSES_PROVISIONING_PATH=/mnt/provision-secrets \
lensesio/lenses-agent:6.0Provisioning
3
Configure Database
Running Agent with Postgres database
lenses.storage.postgres.host="dbname"
lenses.storage.postgres.database="agentdb"
lenses.storage.postgres.username="agentusername"
lenses.storage.postgres.password="changeme"
lenses.storage.postgres.port="5432"
lenses.storage.postgres.schema="myschema"Running Agent with H2 embedded database
Provisioning example file
File configuration
Environment Variables
Docker volumes
Storage volume
Plugins volume
Logs volume
KStreams state volume
Agent TLS and Global JVM Trust Store
File / Variable Name
Description
Process UID/GUI
Last updated
Was this helpful?


