4.2

You are viewing documentation for an older version of Lenses.io View latest documentation here

Persistent Storage

KeyDescriptionDefaultTypeRequired
lenses.storage.directoryThe full path to a directory for Lenses to use for persistence“./storage”stringno
lenses.storage.postgres.hostHost of PostgreSQL server for Lenses to use for persistencestringno
lenses.storage.postgres.portPort of PostgreSQL server for Lenses to use for persistence5432integerno
lenses.storage.postgres.usernameUsername for PostgreSQL database userstringno
lenses.storage.postgres.passwordPassword for PostgreSQL database userstringno
lenses.storage.postgres.databasePostgreSQL database name for Lenses to use for persistencestringno
lenses.storage.postgres.schemaPostgreSQL schema name for Lenses to use for persistence“public”stringno
lenses.storage.postgres.properties.[*]To pass additional properties to PostgreSQL JDBC driverno
lenses.storage.hikaricp.[*]To pass additional properties to HikariCP connection poolno