35 lines
1.4 KiB
Bash
35 lines
1.4 KiB
Bash
# URL used by your browser through Caddy.
|
|
# The application itself uses relative URLs, so this is informational and shown in /api/config.
|
|
APP_URL=https://photos.example.internal
|
|
|
|
# Host port exposed by Docker Compose. Caddy can reverse_proxy to this port.
|
|
APP_PORT=8080
|
|
|
|
# Optional settings
|
|
APP_NAME=Photo Date Editor
|
|
# Optional visible page heading. Falls back to APP_NAME when omitted.
|
|
APP_TITLE=Mork Photo Date Editor
|
|
# Optional text shown directly below the page heading.
|
|
APP_SUBTITLE=Family photo metadata editor
|
|
# Enabled groups: jpg, png, tiff, heif, dng, canon, nikon, sony
|
|
# Use ENABLED_FORMATS=jpg for a JPEG-only workflow.
|
|
ENABLED_FORMATS=jpg,png,tiff,heif,dng,canon,nikon,sony
|
|
MAX_UPLOAD_MB=150
|
|
LOG_LEVEL=INFO
|
|
|
|
# Optional TIFF, HEIF, and DNG preview limits. Originals are never converted or replaced by previews.
|
|
PREVIEW_MAX_EDGE=2400
|
|
RAW_PREVIEW_MAX_EDGE=1600
|
|
PREVIEW_MAX_PIXELS=300000000
|
|
|
|
# Optional map/geocoder overrides. Existing .env files may omit these.
|
|
# Map tiles are fetched by the backend and served same-origin to the browser.
|
|
MAP_TILE_SOURCE_URL=https://tile.openstreetmap.org/{z}/{x}/{y}.png
|
|
MAP_ATTRIBUTION=© OpenStreetMap contributors
|
|
DEFAULT_MAP_LAT=64.5
|
|
DEFAULT_MAP_LON=11.0
|
|
DEFAULT_MAP_ZOOM=5
|
|
GEOCODER_URL=https://nominatim.openstreetmap.org/search
|
|
# Optional custom identification sent to the geocoder. The default uses APP_NAME, version and APP_URL.
|
|
# GEOCODER_USER_AGENT=MorkPhotoDateEditor/0.9.2 (+https://edit.mork.fyi)
|