# Runtime NODE_ENV=production PORT=3000 # Next.js NEXT_PUBLIC_SITE_URL=https://www.luxsin.net # Payload PAYLOAD_SECRET=replace-me-with-a-long-random-string DATABASE_URI=postgres://postgres:postgres@localhost:5432/eversoloweb PAYLOAD_DB_PUSH=false PAYLOAD_RUN_MIGRATIONS_ON_START=false # SMTP notifications SMTP_HOST= SMTP_PORT=2525 SMTP_SECURE=false SMTP_USER= SMTP_PASS= SMTP_FROM="Eversolo Website " AFTER_SERVICE_NOTIFY_EMAIL=service@eversolo.com SALES_NOTIFY_EMAIL=sales@eversolo.com # Paste-URL allow list (upload fields: media / files / videos) # Comma-separated hostnames allowed when using "paste URL" in upload fields. # Bare hostnames default to https; full "protocol://host" entries are also accepted. # When unset, defaults to: www.eversolo.com,eversolo.com,am.luxsinaudio.com # NOTE: NEXT_PUBLIC_ prefix required — value is inlined into client bundle at build time. NEXT_PUBLIC_PASTE_URL_ALLOW_LIST=www.eversolo.com,eversolo.com,am.luxsinaudio.com # AWS S3 media uploads (素材库直传 S3 / CloudFront) # Required: the five keys below must be set or uploads will fail. FIRMWARE_AWS_ACCESS_KEY_ID= FIRMWARE_AWS_SECRET_ACCESS_KEY= FIRMWARE_AWS_BUCKET= FIRMWARE_AWS_REGION=ap-southeast-1 FIRMWARE_AWS_CDN_DOMAIN= # Optional: CDN scheme used to build public URLs (http | https, default http). FIRMWARE_AWS_CDN_SCHEME=https # Optional: CloudFront distribution id; when set, CDN cache is invalidated after uploads. FIRMWARE_AWS_CLOUDFRONT_DISTRIBUTION_ID= # Optional: S3 key prefixes. "folder" stores category/target uploads, "customFolder" stores custom-dir uploads. FIRMWARE_AWS_FOLDER=mediaassets FIRMWARE_AWS_CUSTOM_FOLDER=webassets # Optional: set true when the bucket uses public-read ACL (default false). FIRMWARE_AWS_PUBLIC_ACL=false # Optional: max upload size in MB (default 2048). FIRMWARE_MAX_SIZE_MB=2048 # Optional: multipart tuning. Files larger than the threshold are uploaded in parts. FIRMWARE_AWS_MULTIPART_THRESHOLD_MB=32 FIRMWARE_AWS_MULTIPART_PART_SIZE_MB=16 FIRMWARE_AWS_MULTIPART_CONCURRENCY=4 # Optional: presigned URL lifetime in seconds (default 3600, max 604800). FIRMWARE_UPLOAD_TOKEN_TTL_SECONDS=3600