Files
juli ac77df8a60 Security and robustness fixes from the code review
- Export no longer crashes the server on an unreadable photo (skips it)
- Login limits per username as well as per client; X-Forwarded-For only
  trusted from local/private proxies; constant-time unknown-user path
- Share links: internal fields always removed; values (incl. research
  notes) and notes/locations per link; filters, sort, search and CSV
  cannot reveal hidden fields; questions and stats details hidden
- Password reset/change signs other browsers out
- Comparables keep only http(s) links; CSV cells cannot start a formula
- Phone sign-in redirect stays on this site; browser security headers
- Items belong to accounts (not display names); unique display names
- Uploads go to disk, retried uploads are stored once (app 1.4.1)
- Daily database snapshots, expired-token cleanup, non-root container
2026-11-12 20:13:48 +01:00

23 lines
893 B
Bash

# Public address people and the AI use. Must be https for Claude.ai / ChatGPT connectors.
PUBLIC_URL=https://inventory.example.com
# Admin password for the web app. If empty, one is generated and printed in the logs on first start.
ADMIN_PASSWORD=
COLLECTION_NAME=My collection
CURRENCY=EUR
# Where the collection is. The AI researches internationally but weighs local markets more.
REGION=Netherlands
# Where the web app listens on the host. Behind nginx/Caddy use e.g. 127.0.0.1:8095
INDEXIPRO_PORT=8080
# Only change this if your reverse proxy is on another, public machine (see README, Security notes).
# TRUST_PROXY=loopback, linklocal, uniquelocal
# Optional: live eBay search tool for the AI (free key from https://developer.ebay.com)
EBAY_CLIENT_ID=
EBAY_CLIENT_SECRET=
EBAY_MARKETPLACE=EBAY_US
# Optional: Cloudflare Tunnel token (see docker-compose.yml)
CLOUDFLARE_TUNNEL_TOKEN=