Initial commit
This commit is contained in:
56
.env.example
Normal file
56
.env.example
Normal file
@@ -0,0 +1,56 @@
|
||||
# ================= ADC Retivo =================
|
||||
# Copy to .env and adjust. Used by docker-compose.yml (prod-like).
|
||||
|
||||
# --- App ---
|
||||
NODE_ENV=production
|
||||
PORT=3000
|
||||
# Public URL of the app (used for share links, cookie domain awareness)
|
||||
APP_URL=http://localhost:3000
|
||||
# Comma-separated list of extra allowed origins for CORS (optional in prod, same-origin)
|
||||
CORS_ORIGINS=
|
||||
|
||||
# --- Security ---
|
||||
SESSION_SECRET=change-me-to-a-long-random-string-at-least-32-chars
|
||||
SESSION_TTL_DAYS=30
|
||||
|
||||
# --- Postgres ---
|
||||
POSTGRES_USER=adc
|
||||
POSTGRES_PASSWORD=adc
|
||||
POSTGRES_DB=adc
|
||||
DATABASE_URL=postgres://adc:adc@postgres:5432/adc
|
||||
|
||||
# --- Redis ---
|
||||
REDIS_URL=redis://redis:6379
|
||||
|
||||
# --- Object storage (S3/MinIO) ---
|
||||
# NOTE: the upstream minio/minio image is no longer published on Docker Hub.
|
||||
# Use a compatible fork and set its image here. This value is read by compose
|
||||
# for ${...} substitution (from .env / --env-file), not from the container env_file.
|
||||
MINIO_IMAGE=firstfinger/minio:latest
|
||||
# Command passed to the storage container. Leave EMPTY for images that ship their
|
||||
# own entrypoint/start script (like firstfinger/minio). For stock minio/minio use:
|
||||
# server /data --console-address ":9001"
|
||||
MINIO_COMMAND=
|
||||
MINIO_ROOT_USER=minioadmin
|
||||
MINIO_ROOT_PASSWORD=minioadmin
|
||||
MINIO_ENDPOINT=minio
|
||||
MINIO_PORT=9000
|
||||
MINIO_SSL=false
|
||||
MINIO_ACCESS_KEY=minioadmin
|
||||
MINIO_SECRET_KEY=minioadmin
|
||||
MINIO_BUCKET=adc-retivo
|
||||
# URL the *browser* uses for direct/presigned access (optional; streaming is proxied through the API by default)
|
||||
MINIO_PUBLIC_URL=http://localhost:9000
|
||||
|
||||
# --- Metadata providers ---
|
||||
# MusicBrainz requires a descriptive User-Agent with contact info.
|
||||
MB_USER_AGENT=ADCRetivo/1.0 ( https://github.com/adc-retivo contact:admin@example.com )
|
||||
# AcoustID application API key (free: https://acoustid.org/new-application). Leave empty to disable fingerprint lookup.
|
||||
ACOUSTID_API_KEY=
|
||||
# Optional path to fpcalc binary (chromaprint). Defaults to "fpcalc".
|
||||
FPCALC_PATH=fpcalc
|
||||
|
||||
# --- First admin (created on first migration if no users exist) ---
|
||||
ADMIN_EMAIL=admin@adc.retivo
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=admin123
|
||||
Reference in New Issue
Block a user