mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2026-06-04 00:17:44 -06:00
2d4eac6583
Replaces browser-cached Basic Auth credentials with proper server-side session management. Logout now fully invalidates the session. Adds an HTML login form at /admin/login, SECRET_KEY env var support, and updates README with key generation instructions and role table.
15 lines
481 B
Bash
15 lines
481 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 |