Files
kiosk-guestbook/example.env
T
steve 9ebac80f35 feat: add webhook integration for new guestbook submissions
Posts signup data as JSON to WEBHOOK_URL (e.g. an n8n Webhook node)
in a daemon thread so it never blocks the visitor-facing response.
2026-03-11 15:30:31 -06:00

17 lines
570 B
Bash

# Port to expose (default 8000)
PORT=8000
# Flask environment setting (production)
FLASK_ENV=production
# Path to the SQLite database (this file will be stored in the mounted /data volume)
DATABASE_PATH=/data/guestbook.db
# Number of Gunicorn workers (adjust as needed)
GUNICORN_WORKERS=3
PID=1000
GID=1000
SITE_TITLE="The Montana Dinosaur Center Visitor Log"
LOGO_URL="/static/images/logo.png"
ADMIN_USER=admin
ADMIN_PASSWORD=changeme
SECRET_KEY=change-this-to-a-random-secret-key
# Optional: POST new signups as JSON to this URL (e.g. an n8n Webhook node)
WEBHOOK_URL=