# Copy to `.env` and fill in real values. Never commit `.env`.
# --- Database ---------------------------------------------------------------
DATABASE_URL=postgresql://postgres:CHANGE_ME@localhost:5455/convert-invert
MIGRATIONS_DIRECTORY=migrations
# --- API ------------------------------------------------------------------
# Static API key — required. The API rejects all requests without a matching
# `X-API-Key` header. Generate one with `openssl rand -hex 32`.
API_KEY=CHANGE_ME_TO_A_LONG_RANDOM_STRING
# Comma-separated allowed origins for CORS (no spaces).
# Example for local dev: http://localhost:5173
ALLOWED_ORIGINS=http://localhost:5173
SERVER_BIND=0.0.0.0:3124
# --- Worker tuning --------------------------------------------------------
WORKER_COUNT=4
WORKER_USERNAME_PREFIX=worker
WORKER_PORT_BASE=41000
WORKER_RUN_ID_PREFIX=web-trigger
# --- Soulseek -------------------------------------------------------------
USER_NAME=your-soulseek-username
USER_PASSWORD=your-soulseek-password
LISTEN_PORT=41000
# --- Spotify --------------------------------------------------------------
CLIENT_ID=your-spotify-client-id
CLIENT_SECRET=your-spotify-client-secret
# --- Infra ----------------------------------------------------------------
REDIS_URL=redis://localhost:6379
JAEGER_URL=http://localhost:16686
OTLP_ENDPOINT=http://localhost:4317
DOWNLOAD_PATH=./downloads
RUN_ID=local
LOG_LEVEL=info