# Copy this file to .env and fill in real values before running # `docker compose up -d`. .env itself is gitignored - never commit real # credentials. # Postgres credentials (internal to the compose network only, never exposed # to the LAN/internet - pick any strong password). POSTGRES_DB=yarisobd POSTGRES_USER=yarisobd POSTGRES_PASSWORD=changeme # Host port the Flask API is published on (this is what you point the # Cloudflare Tunnel / router port-forward at). API_PORT=8098 # Where Postgres data + uploaded dashcam files are stored on the unraid host. # Recommended: a path on the array, e.g. /mnt/user/appdata/yaris-obd-server DATA_DIR=./data # Reject dashcam uploads larger than this (MB). Bump if your dashcam # produces very large individual clips. MAX_DASHCAM_UPLOAD_MB=2048 # Secret key for browser sessions (login cookies). Generate with: # python -c "import secrets; print(secrets.token_hex(32))" SECRET_KEY=changeme_generate_a_real_secret_key # Mark session cookies Secure (HTTPS-only). The portal is served over HTTPS # via Cloudflare Tunnel, so leave this as 1 unless you also log in to the # portal over plain HTTP on the LAN. COOKIE_SECURE=1 # The device name registered in the devices table - used by the portal to # scope all queries to the right Pi. DEVICE_NAME=yaris-2013