Files
parentcalendar/.env.example
T

24 lines
901 B
Bash

# Copy to .env and adjust. Real environment variables override this file.
# Base URL the app is reached at; its domain goes into new event UIDs.
PUBLIC_URL=https://calendar.example.com
# Database and photos. Must be a local disk (SQLite WAL doesn't work on network shares).
DATA_DIR=./data
HOST=127.0.0.1
PORT=8000
# Extraction model: an Ollama model, or a claude-* model (then set ANTHROPIC_API_KEY).
# In Docker, localhost is the container. Use the Ollama machine's address, or http://host.docker.internal:11434
# when Ollama runs on the Docker host (start Ollama with OLLAMA_HOST=0.0.0.0 so it accepts the connection).
OLLAMA_URL=http://localhost:11434
EXTRACT_MODEL=nemotron-3.5-bolt:e4b
# ANTHROPIC_API_KEY=
# Labels that are never food or events, for every source (each source can add its own).
# EXTRACT_IGNORE=BHS
# Days to keep photos after a scan is published.
IMAGE_RETENTION_DAYS=90