Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

All configuration is done via environment variables. No config file is needed.

Core Settings

VariableDefaultDescription
DATABASE_URLsqlite:./data/storeit.db?mode=rwcSQLite database path
STOREIT_BIND0.0.0.0:8080Server listen address
STOREIT_IMAGE_PATH./data/imagesImage storage directory

Authentication

VariableDefaultDescription
STOREIT_AUTH_ISSUER(none — uses mock auth)OIDC issuer URL
STOREIT_AUTH_CLIENT_IDstoreitOIDC client ID
STOREIT_AUTH_CLIENT_SECRETchangemeOIDC client secret
STOREIT_AUTH_REDIRECT_URIhttp://localhost:8080/api/v1/auth/callbackOIDC callback URL
STOREIT_AUTH_GROUP_PREFIXstoreit:OIDC group claim prefix filter
STOREIT_SESSION_SECRET(dev default)Cookie signing secret (change in production)
STOREIT_SESSION_TTL_HOURS24Session lifetime in hours

AI Identification

VariableDefaultDescription
STOREIT_ANTHROPIC_API_KEY(none)Anthropic API key for AI identification
STOREIT_AI_MODELclaude-haiku-4-5-20251001Claude model to use
STOREIT_CLAUDE_PATHclaudePath to Claude CLI binary (fallback)

AI identification is optional. Without an API key, the identify feature is disabled but all other features work normally.

Example .env File

DATABASE_URL=sqlite:./data/storeit.db?mode=rwc
STOREIT_BIND=0.0.0.0:8080
STOREIT_IMAGE_PATH=./data/images
STOREIT_SESSION_SECRET=your-random-secret-at-least-32-chars
STOREIT_ANTHROPIC_API_KEY=sk-ant-...