NODE_ENV=development PORT=3000 APP_BASE_URL=http://localhost:3000 # Use postgres (default) or sqlite. SQLite ignores DATABASE_URL. DATABASE_DRIVER=postgres DATABASE_URL=postgresql://futaloli:futaloli@localhost:5432/futaloli SQLITE_PATH=./data/local.db ADMIN_EMAILS=["admin@example.com"] SESSION_SECRET=replace-with-at-least-32-random-characters # Optional dedicated HMAC secret for API keys. Defaults to SESSION_SECRET when omitted. API_KEY_PEPPER= CONTACT_EMAIL_ENCRYPTION_KEY=replace-with-32-byte-base64-key LOCAL_STORAGE_PATH=./data STORAGE_DRIVER=local SIMILARITY_ENABLED=false # Optional OpenAI-compatible text embedding endpoint for tag merge suggestions. TAG_EMBEDDING_URL= TAG_EMBEDDING_API_KEY= TAG_EMBEDDING_MODEL=text-embedding-3-small TAG_SIMILARITY_THRESHOLD=0.72 TRASH_RETENTION_DAYS=30 # Public submissions and administrator direct uploads use separate count limits. MAX_UPLOAD_FILES=10 ADMIN_MAX_UPLOAD_FILES=300 # Optional deployment locks. Leave unset to manage these values in the admin panel. # MAX_AVIF_BYTES=1048576 # RATE_LIMIT_REQUESTS_PER_MINUTE=120 # Keep background AVIF conversion from competing heavily with API requests. AVIF_EFFORT=4 IMAGE_PROCESSING_THREADS=1 # Optional shared processor. When configured, Sharp is not loaded by the API process. IMAGE_PROCESSOR_URL= IMAGE_PROCESSOR_API_TOKEN= IMAGE_PROCESSOR_TENANT=futaloliapi # Set by the remote-only image target; normal deployments should leave this unchanged. IMAGE_PROCESSOR_MODE=hybrid GEETEST_BYPASS_TOKEN=local-development DEV_ADMIN_EMAIL=admin@example.com # Configure these to enable production OIDC. OIDC_ISSUER_URL= OIDC_CLIENT_ID= OIDC_CLIENT_SECRET= OIDC_REDIRECT_URI= # Configure both values to enable Geetest v4. GEETEST_CAPTCHA_ID= GEETEST_CAPTCHA_KEY= # Set STORAGE_DRIVER=s3 and configure both buckets below to enable split S3/R2 storage. S3_ENDPOINT= S3_REGION=auto S3_PRIVATE_BUCKET= S3_PUBLIC_BUCKET= S3_ACCESS_KEY_ID= S3_SECRET_ACCESS_KEY= S3_FORCE_PATH_STYLE=false PUBLIC_IMAGE_BASE_URL= # Optional Cloudflare edge cache invalidation for published images. CLOUDFLARE_ZONE_ID= CLOUDFLARE_CACHE_PURGE_TOKEN=