- Ice mode: prepaid ice bags (Ice Total / Ice Redeemed columns) redeemed independently of ticket check-ins; grab all bags at once or some now. - Banquet mode: donor total (online + offline) looked up by the ticket's email via the Donors Master List, with a manual email override. New DonorService + POST /api/banquet. - Redeem generalized over a resource (tickets|ice); audit records ice actions. - App gains a mode selector; webhook maps ice_bags (defaults to ICE_BAGS_DEFAULT when only a boolean ice option is present). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
# Copy to .env and fill in. NEVER commit .env.
|
|
|
|
# HTTP port the container listens on (nginx proxies scan.beartariacampgrounds.com -> 127.0.0.1:8080)
|
|
PORT=8080
|
|
|
|
# Existing NocoDB instance
|
|
NOCODB_BASE_URL=https://nocodb.beartariacampgrounds.com
|
|
# API token (xc-token) created in NocoDB: Account Settings -> Tokens
|
|
NOCODB_API_TOKEN=
|
|
# Table ID of "2026 Campground Tickets" (right-click table -> Copy Table ID, looks like m1a2b3c4d5e6f7)
|
|
NOCODB_TABLE_ID=
|
|
# Optional: table ID of "2026 Ticket Audit Logs". If unset, audit logging is skipped.
|
|
NOCODB_AUDIT_TABLE_ID=
|
|
|
|
# Banquet mode — donor tables (optional; if the master list is unset, banquet is disabled)
|
|
NOCODB_DONORS_TABLE_ID=
|
|
NOCODB_DONOR_ONLINE_TABLE_ID=
|
|
NOCODB_DONOR_OFFLINE_TABLE_ID=
|
|
|
|
# Ice bags granted when a purchase includes ice but the webhook sends only a boolean
|
|
ICE_BAGS_DEFAULT=3
|
|
|
|
# MailerSend
|
|
MAILERSEND_API_TOKEN=
|
|
MAIL_FROM_EMAIL=tickets@beartariacampgrounds.com
|
|
MAIL_FROM_NAME=Beartaria Campgrounds
|
|
|
|
# Shared secret FluentForms sends in the X-Webhook-Secret header (long random string)
|
|
WEBHOOK_SECRET=
|
|
|
|
# Gate staff PIN for the scanner app
|
|
EVENT_PIN=
|
|
|
|
# JWT signing secret (long random string) and token lifetime
|
|
TOKEN_SECRET=
|
|
TOKEN_TTL=30d
|
|
|
|
LOG_LEVEL=info
|