29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# Public URL of the app (used to build confirmation / reset links in emails)
|
|
APP_URL=http://localhost:3000
|
|
|
|
# Secret used to sign/verify session tokens. Use a long random string in production.
|
|
SESSION_SECRET=change-me-to-a-long-random-string
|
|
|
|
# Where the SQLite database file lives (WAL files sit next to it).
|
|
DATABASE_PATH=./data/drawit.db
|
|
|
|
# SMTP for sending account-confirmation and password-reset emails.
|
|
# If left blank, links are printed to the server console (handy for local dev).
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=
|
|
SMTP_PASS=
|
|
SMTP_FROM="DrawIt <no-reply@example.com>"
|
|
|
|
# --- "Create" feature (AI-generated lessons via a self-hosted ComfyUI) ---
|
|
# Leave COMFYUI_URL blank to disable the Create feature entirely.
|
|
COMFYUI_URL=http://127.0.0.1:8188
|
|
COMFYUI_API_KEY=
|
|
# Path to a ComfyUI workflow exported in API format ("Save (API format)").
|
|
COMFYUI_WORKFLOW=./comfyui/coloring-book.workflow_api.json
|
|
# Node ids in that workflow to inject into: the positive prompt text, and the sampler seed.
|
|
COMFYUI_PROMPT_NODE=6
|
|
COMFYUI_SEED_NODE=3
|
|
COMFYUI_TIMEOUT_MS=120000
|