mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2026-06-04 01:28:46 -06:00
1a0a1371bc
- Fixed scrolling marquee to use a fixed px/s speed via JS instead of a fixed duration, preventing it from speeding up as entries are added - Added inline TODO comments throughout codebase to track known issues (rate limiting, CSRF, unbounded queries, deprecated Flask decorator, PII logging, schema versioning, Docker non-root user, etc.) - Added todo-to-issue GitHub Action to auto-create Issues from TODOs on push to main - Added .claude/ to .gitignore
9 lines
460 B
Bash
9 lines
460 B
Bash
#!/bin/sh
|
|
# Process index.html.template to create index.html
|
|
# Adjust the path if your template is located somewhere else
|
|
envsubst < /app/templates/index.html.template > /app/templates/index.html
|
|
|
|
# Start Gunicorn; using an environment variable for workers (default is 3)
|
|
# TODO: Variable mismatch — example.env sets GUNICORN_WORKERS but this reads WORKERS. Change to ${GUNICORN_WORKERS:-3}.
|
|
exec gunicorn --bind 0.0.0.0:8000 app:app --workers ${WORKERS:-3}
|