generated from coulomb/repo-seed
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
# artifact-store environment configuration
|
|
#
|
|
# Copy to .env for local development. All keys are prefixed with
|
|
# ARTIFACTSTORE_; pydantic-settings reads them automatically.
|
|
|
|
# Database connection string. SQLite (with aiosqlite) for dev; PostgreSQL
|
|
# (with asyncpg) for shared deployments.
|
|
# sqlite+aiosqlite:///./var/artifactstore.db
|
|
# postgresql+asyncpg://user:pass@host:5432/artifactstore
|
|
ARTIFACTSTORE_DATABASE_URL=sqlite+aiosqlite:///./var/artifactstore.db
|
|
|
|
# Local filesystem storage root. Used by the LocalBackend (WP-0001-T003).
|
|
ARTIFACTSTORE_STORAGE_LOCAL_ROOT=./var/storage
|
|
|
|
# Python logging level: DEBUG | INFO | WARNING | ERROR
|
|
ARTIFACTSTORE_LOG_LEVEL=INFO
|
|
|
|
# Shared-secret bearer tokens for the HTTP API. Comma- or newline-separated.
|
|
# Protected endpoints return 401 until at least one token is configured.
|
|
ARTIFACTSTORE_AUTH_TOKENS=dev-token
|
|
|
|
# Read endpoints are authenticated by default. Set true only for local demos.
|
|
ARTIFACTSTORE_ANON_READ=false
|
|
|
|
# Defaults used by `artifactstore push` and `artifactstore manifest`.
|
|
ARTIFACTSTORE_API_URL=http://127.0.0.1:8000
|
|
ARTIFACTSTORE_API_TOKEN=dev-token
|
|
|
|
# Optional TOML file overriding retention class default durations.
|
|
ARTIFACTSTORE_RETENTION_CONFIG_PATH=
|
|
|
|
# Default interval for external schedulers that run `artifactstore retention sweep`.
|
|
ARTIFACTSTORE_RETENTION_SWEEP_INTERVAL_SECONDS=3600
|