Skip to main content

Environment Variables

Every field in the service's Go config struct tagged with env:"..." is parsed at runtime by the envdecode loader. The table below is regenerated whenever the service's config struct changes.

Environment variables for the immichframe service

NameIntroduction VersionTypeDescriptionDefault Value
OC_URL
IMMICHFRAME_OPENCLOUD_URL
stringBase URL of the OpenCloud instance (used for Graph API and WebDAV calls).``
IMMICHFRAME_OPENCLOUD_SPACE_IDstringOpenCloud space id to serve photos from. Provide this or IMMICHFRAME_OPENCLOUD_SPACE_NAME.``
IMMICHFRAME_OPENCLOUD_SPACE_NAMEstringOpenCloud space name; used to resolve the space id when IMMICHFRAME_OPENCLOUD_SPACE_ID is empty.``
IMMICHFRAME_OPENCLOUD_USERNAMEstringUsername for app-password authentication.``
IMMICHFRAME_OPENCLOUD_APP_PASSWORDstringApp password for the given username.``
IMMICHFRAME_OPENCLOUD_BEARER_TOKENstringBearer token for authentication; takes precedence over username/app-password.``
OC_INSECURE
IMMICHFRAME_OPENCLOUD_INSECURE
boolSkip TLS verification when talking to OpenCloud (self-signed certs in dev).false
IMMICHFRAME_HTTP_ADDRstringBind address of the frame HTTP service.:8080
IMMICHFRAME_AUTH_SECRETstringShared secret clients must send as 'Authorization: Bearer <secret>'. Empty runs the API open.``
IMMICHFRAME_CATALOG_REFRESHDurationHow often the photo catalog is refreshed (Go duration, e.g. 5m).5m0s
IMMICHFRAME_WEB_ROOTstringDirectory with the built ImmichFrame web UI to serve at /. Empty serves the API only.``
IMMICHFRAME_INTERVALintSeconds each image is shown.8
IMMICHFRAME_TRANSITION_DURATIONfloat64Crossfade duration in seconds.1
IMMICHFRAME_SHOW_CLOCKboolShow the clock overlay.true
IMMICHFRAME_CLOCK_FORMATstringClock time format (date-fns tokens).HH:mm
IMMICHFRAME_CLOCK_DATE_FORMATstringClock date format (date-fns tokens).eee, MMM d
IMMICHFRAME_SHOW_PROGRESS_BARboolShow the slideshow progress bar.true
IMMICHFRAME_SHOW_PHOTO_DATEboolShow the photo date overlay.true
IMMICHFRAME_PHOTO_DATE_FORMATstringPhoto date format (Go layout; formatted server-side).2006-01-02
IMMICHFRAME_SHOW_IMAGE_LOCATIONboolShow the image location overlay (no EXIF/GPS in OpenCloud yet).false
IMMICHFRAME_IMAGE_LOCATION_FORMATstringImage location format string.City,State,Country
IMMICHFRAME_SHOW_IMAGE_DESCboolShow the image description overlay.false
IMMICHFRAME_SHOW_ALBUM_NAMEboolShow the album name overlay (album = the image's folder).true
IMMICHFRAME_LANGUAGEstringUI language code.en