eCR Viewer
    Preparing search index...
    interface EcrMetadataStorage {
        DATABASE_URL?: string;
        DB_CIPHER?: string;
        METADATA_DATABASE_MIGRATION_SECRET?: string;
        METADATA_DATABASE_SCHEMA?: "core" | "extended";
        SQL_SERVER_HOST?: string;
        SQL_SERVER_PASSWORD?: string;
        SQL_SERVER_USER?: string;
    }

    Hierarchy (View Summary)

    Index

    eCR Library Metadata

    These variables are used to configure the metadata database.

    SQL Server

    These variables are deprecated. Please use eCR Library Metadata instead. DATABASE_URL

    eCR Library Metadata

    DATABASE_URL?: string

    Connection URL for the database.

    Postgres
    postgres://user:pw@url:port/ecr_viewer_db
    SQL Server
    Server=url;User Id=user;Password=pw;
    DB_CIPHER?: string

    Cipher key for database encryption if different then the default.

    METADATA_DATABASE_MIGRATION_SECRET?: string

    Secret needed to apply migrations via the migrate-db api route. If not set, a random UUID will be assigned by the application and logged to the server.

    METADATA_DATABASE_SCHEMA?: "core" | "extended"

    Database schema to use for metadata storage. Core has a small subset of Extended. Default value is "extended".

    SQL Server

    SQL_SERVER_HOST?: string

    Hostname for SQL Server database.

    Since v3.1.0 - use DATABASE_URL

    SQL_SERVER_PASSWORD?: string

    Password for SQL Server authentication.

    Since v3.1.0 - use DATABASE_URL

    SQL_SERVER_USER?: string

    Username for SQL Server authentication.

    Since v3.1.0 - use DATABASE_URL