mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Remove hardcoded --platform=linux/amd64 from Dockerfile so buildx produces native arm64 images for Apple Silicon and Raspberry Pi. Add audit logging for auth events, harden file storage with extension whitelists and double-extension attack prevention, reject null-byte buffers in validation, add data-testid attributes to all tool settings components, update deployment docs with architecture notes and correct CI workflow references, and fix unit test mock to match throwWithMessage error extraction.
23 lines
639 B
Bash
23 lines
639 B
Bash
# Server port (used in production / Docker)
|
|
# In dev, the API auto-starts on an internal port; you always access localhost:1349
|
|
PORT=1349
|
|
AUTH_ENABLED=true
|
|
DEFAULT_USERNAME=admin
|
|
DEFAULT_PASSWORD=admin
|
|
STORAGE_MODE=local
|
|
FILE_MAX_AGE_HOURS=24
|
|
CLEANUP_INTERVAL_MINUTES=30
|
|
MAX_UPLOAD_SIZE_MB=100
|
|
MAX_BATCH_SIZE=200
|
|
CONCURRENT_JOBS=3
|
|
MAX_MEGAPIXELS=100
|
|
RATE_LIMIT_PER_MIN=100
|
|
# Set to true in CI/dev to skip the forced password-change on the default admin
|
|
# SKIP_MUST_CHANGE_PASSWORD=false
|
|
DB_PATH=./data/stirling.db
|
|
WORKSPACE_PATH=./tmp/workspace
|
|
FILES_STORAGE_PATH=./data/files
|
|
DEFAULT_THEME=light
|
|
DEFAULT_LOCALE=en
|
|
APP_NAME=Stirling Image
|