Files
derekc e08e031ad0 Add HSTS, gzip, Ntfy notifications, and paginate entries endpoint
- nginx: add HSTS (max-age=31536000) and gzip for text/css/js/json
- entries: add limit/offset query params (default 200, max 1000)
- Ntfy: wire NTFY_URL/NTFY_TOKEN through env; notify on startup, new
  registration, admin login, user disable, and user delete
- httpx==0.28.1 added for async Ntfy HTTP calls

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 01:12:59 -07:00

22 lines
615 B
Bash

# MySQL
MYSQL_ROOT_PASSWORD=changeme_root
MYSQL_DATABASE=bourbonacci
MYSQL_USER=bourbonacci
MYSQL_PASSWORD=changeme_db
# Backend
DATABASE_URL=mysql+aiomysql://bourbonacci:changeme_db@db:3306/bourbonacci
SECRET_KEY=changeme_generate_a_long_random_string_here
ACCESS_TOKEN_EXPIRE_MINUTES=480
# Admin account (seeded on every container start)
ADMIN_USERNAME=admin@example.com
ADMIN_PASSWORD=changeme_admin
# CORS: comma-separated list of allowed origins
ALLOWED_ORIGINS=https://yourdomain.com
# Ntfy push notifications (optional — leave blank to disable)
NTFY_URL=https://ntfy.example.com/your-topic
NTFY_TOKEN=