mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Dev mode: Vite serves UI on 1349, Fastify API on 1350 (proxied) Production/Docker: Fastify serves both UI and API on 1349
20 lines
508 B
Bash
20 lines
508 B
Bash
# In dev: API runs on this port, UI on 1349 (Vite proxies /api here)
|
|
# In Docker/production: Fastify serves everything on 1349 (set PORT=1349)
|
|
PORT=1350
|
|
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
|
|
DB_PATH=./data/stirling.db
|
|
WORKSPACE_PATH=./tmp/workspace
|
|
DEFAULT_THEME=light
|
|
DEFAULT_LOCALE=en
|
|
APP_NAME=Stirling Image
|