homelab/compose/media/frontend/immich/.env
Eduardo Figueroa 75bdad695f feat(media): Configure Authelia OIDC for Immich and update Jellyfin
- Add Authelia OIDC configuration to Immich (.env)
- Remove Tinyauth middleware comment from Immich compose
- Update Jellyfin SSO comment to reference Authelia instead of Tinyauth
- Enable NVIDIA GPU transcoding for Jellyfin
2025-12-12 23:17:04 +00:00

35 lines
1.5 KiB
Bash

# You can find documentation for all the supported env variables at https://docs.immich.app/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/media/photos/immich
# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=America/Los_Angeles
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=V2.3.1
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
# Generate with: openssl rand -base64 32 | tr -d /=+ | cut -c1-32
# Example format: aB3dEf7HiJ9kLmN2oPqR5sTuV8wXyZ1
DB_PASSWORD=changeme_please_set_secure_password
# OAuth/OIDC Configuration (Authelia)
# Docs: https://immich.app/docs/administration/oauth
OAUTH_ENABLED=true
OAUTH_ISSUER_URL=https://auth.fig.systems
OAUTH_CLIENT_ID=immich
OAUTH_CLIENT_SECRET=UXmLznRcvsyZexV0GUeJcJren7FwW8cr
OAUTH_SCOPE=openid profile email
OAUTH_BUTTON_TEXT=Login with Authelia
OAUTH_AUTO_REGISTER=true
OAUTH_AUTO_LAUNCH=false
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich