Object Storage Configuration

Storage Connection

Use the ANYVAR_STORAGE_URI environment variable to pass a libpq connection string to the PostgreSQL connection constructor, or an empty string ("") to use stateless mode.

Environment Variable

Default Value

ANYVAR_STORAGE_URI

"postgresql://postgres@localhost:5432/anyvar"

Rename Tables

For cases where AnyVar storage is shared with other applications and an additional naming scheme may be beneficial, all AnyVar database tables can be renamed by an environment variable of the pattern "ANYVAR_<table>_TABLE_NAME".

Environment Variable

Default Value

ANYVAR_ALLELES_TABLE_NAME

"alleles"

ANYVAR_EXTENSIONS_TABLE_NAME

"extensions"

ANYVAR_LOCATIONS_TABLE_NAME

"locations"

ANYVAR_SEQUENCE_REFERENCES_TABLE_NAME

"sequence_references"

ANYVAR_VARIATION_MAPPINGS_TABLE_NAME

"variation_mappings"

ANYVAR_VRS_OBJECTS_TABLE_NAME

"vrs_objects"