# Real .env for the WINDOWS vMix test machine.
# browser, never written into data.json. Built from the old Python app's
# config.json (../config.json) plus the Supabase values from .env.distribute.
#
# To change a credential: edit this file, then restart the app.
# Do NOT put real R2/SendGrid keys into .env.distribute -- that file gets
# bundled into every copy of the app that goes out to other people.

PORT=5000

# --- This arena / show ---
ARENA_NAME=Arena 1
EVENT_NAME=Test Event

# --- vMix ---
VMIX_HOST=localhost
VMIX_PORT=8088
# The folder vMix exports replay clips into, on THIS Windows machine.
# Changeable from the Settings page without editing this file.
EXPORT_FOLDER=C:\EZLive\exports\export
# vMix returns HTTP 200 even for a function name it does not recognise, so a
# wrong name here fails SILENTLY. Verify with Settings -> "Test Rename"
# against real vMix before trusting this at a show.
VMIX_RENAME_FUNCTION=ReplaySetLastEventText

# --- Cloudflare R2 (video storage) ---
R2_ACCOUNT_ID=d0dfb3512da538fe5ab553b3f64d1ab6
R2_ACCESS_KEY_ID=36e9ce53a1c5ea0fcba88ed94a71e11b
R2_SECRET_ACCESS_KEY=db4e6310e2c8575b3db2506bd0cc1bf6ab6c198e226f264d532250b6e0926dad
R2_BUCKET_NAME=ezlive-shows
R2_PUBLIC_URL_BASE=https://pub-db4a3ba1a830447dadfd8714f784b6a7.r2.dev

# --- SendGrid (rider video emails) ---
SENDGRID_API_KEY=SG.Mls4GaDASFyCCQyoSUyFlQ.9xSfa2GltlEWSqvqalFLs2UG8ONVrRlP6vCYn3MSQFo
FROM_EMAIL=dhammack@ezliveproductions.com

# --- Supabase (shared rider roster with EquiSlate) ---
SUPABASE_URL=https://ajgcammmkltagrisqdhg.supabase.co
SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFqZ2NhbW1ta2x0YWdyaXNxZGhnIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODcxNzE1NTUsImV4cCI6MjEwMjc0NzU1NX0.sWQ9N3-sSzlmuzpw2k12rGIZuVL3AgC_mZKy9Whr_1A
# EquiSlate's Show Sync Code for this installation, read from
# ~/equine-scoring/data/data.json. Can also be pasted in from the
# Settings -> Shared Roster page instead of living here.
SUPABASE_OWNER_TOKEN=bd6a7ef9-045a-44ab-83f9-5f38ec762a96

# --- Admin ---
ADMIN_SESSION_SECRET=0f4300e3092949abd69418b687b5427058b7232e5758a9ffc0a4317367e0ea12
ADMIN_PIN=0000
