Files
tonehaus/.env.example
T
2026-04-02 15:42:38 +01:00

33 lines
1.5 KiB
Bash

# Uncomment to override stored setting.
#LASTFM_API_KEY=
#MUSICBRAINZ_CLIENT_ID=
#MUSICBRAINZ_CLIENT_SECRET=
# TIDAL uses OAuth client-credentials; set client ID + secret and token is fetched automatically.
#TIDAL_CLIENT_ID=
#TIDAL_CLIENT_SECRET=
# Optional ISO-2 country code for TIDAL catalog availability (defaults to US).
#TIDAL_COUNTRY_CODE=US
# Optional: not required for album search.
# If needed for authenticated MusicBrainz features, obtain via OAuth from:
# https://musicbrainz.org/account/applications
#MUSICBRAINZ_ACCESS_TOKEN=
# Optional provider override. Leave unset to use the admin setting.
# Valid values: lastfm, musicbrainz, tidal.
# Safety: when the effective provider changes to a different valid source,
# catalog data (albums/tracks/reviews) is reset automatically to prevent duplicates.
#EXTERNAL_ALBUM_PROVIDER=lastfm
APP_ENV=prod
APP_SECRET=changeme
# APP_ALLOW_REGISTRATION=1 # Uncomment to override administration setting
DEFAULT_URI=http://localhost:8085
ALBUM_SEARCH_LIMIT=30 # Amount of albums shown on page. Do not set too high, may be rate limited by external APIs.
# API benchmark toggle:
# 1 = keep API image hydration/fallback calls enabled.
# 0 = disable API-side image hydration for raw upstream timing.
API_IMAGE_HYDRATION_ENABLED=1
JWT_PASSPHRASE=changeme
DATABASE_DRIVER=sqlite # postgres | sqlite. Untested support for postgres since migration to SQLite.
# DATABASE_URL=postgresql://${POSTGRES_USER:-symfony}:${POSTGRES_PASSWORD:-symfony}@db:5432/${POSTGRES_DB:-symfony}?serverVersion=16&charset=utf8