Files
zoe-shaldon/config.example.yaml

41 lines
1.2 KiB
YAML

server:
port: 8080
origin:
service_key: "" # Origin service key; leave empty to disable registration
url: "" # optional; defaults to Origin's public service-checkin endpoint
version: "1.0.0"
site:
url: "https://zoeshaldon.warky.info" # canonical URL, used for the /qr page
wedding:
date: "2026-11-07T16:00:00+02:00" # RFC3339, guest arrival time; drives countdown + photo upload gate
ceremony_time: "16:00 for 16:30" # display text
rsvp_by: "2026-09-01T00:00:00+02:00" # RFC3339, RSVP deadline; drives the RSVP countdown
venue_name: "Rivier Plaas"
venue_address: "Langenhoven Rd, Sherman Park AH, Meyerton, 1961"
rsvp_phone: "076 925 1718"
storage:
data_dir: "./data" # SQLite db + uploaded photos
email:
smtp_host: ""
smtp_port: 587
smtp_user: ""
smtp_pass: ""
from: ""
to: "" # couple's inbox, receives RSVP + photo notifications
upload:
max_size_mb: 15
max_files: 10
webhook:
rsvp_url: "" # optional; POST JSON here on every new RSVP
photo_url: "" # optional; POST JSON here on every photo upload
secret: "" # optional; HMAC-SHA256-signs the payload, sent as X-Webhook-Signature
headers: {} # optional; extra headers sent with every webhook request, e.g. Authorization: "Bearer xxx"
timeout_seconds: 5