Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sailing:immich [2024/01/11 10:02] – willy | sailing:immich [2024/02/22 13:39] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Immich ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | There are alternatives, | ||
- | |||
- | Still both projects do not support " | ||
- | |||
- | Another annoying limit of Immich is the lack of SSO support. I didn't find a proper way to support tools like Authelia nor pass Proxy authentication to Immich. | ||
- | |||
- | |||
- | ===== Installation ===== | ||
- | |||
- | I tried to install Immich on bare-metal and give up. The total lack of documentation is regretting and the only existing guide is obsolete. Sadly, using containers is the only viable way to install Immich. | ||
- | |||
- | Create a folder where to store the various yaml files: | ||
- | <code bash> | ||
- | > mkdir / | ||
- | </ | ||
- | |||
- | Fetch the .env file and the yaml files: | ||
- | <code bash> | ||
- | > cd / | ||
- | > wget https:// | ||
- | > wget -O .env https:// | ||
- | > wget https:// | ||
- | </ | ||
- | |||
- | Now, edit your **docker-compose.yml** to add support for external libraries. Add the following line: | ||
- | < | ||
- | volumes: | ||
- | - ${UPLOAD_LOCATION}:/ | ||
- | - / | ||
- | - ${EXTERNAL_PATH}:/ | ||
- | </ | ||
- | both to // | ||
- | |||
- | edit the **/ | ||
- | < | ||
- | UPLOAD_LOCATION=/ | ||
- | EXTERNAL_PATH=/ | ||
- | IMMICH_VERSION=release | ||
- | </ | ||
- | |||
- | then fire up the containers: | ||
- | <code bash> | ||
- | > docker compose up -d | ||
- | </ | ||
- | |||
- | When you want to update Immich, just: | ||
- | <code bash> | ||
- | > cd / | ||
- | > docker compose pull && docker compose up -d | ||
- | </ | ||
- | |||
- | ==== NGINX reverse proxy ==== | ||
- | |||
- | Immich does not support bas_url, so: | ||
- | |||
- | <file txt immich.conf> | ||
- | location /immich { | ||
- | auth_pam off; | ||
- | | ||
- | } | ||
- | </ | ||
- | |||
- | The following setup is recomended if you can host on root: | ||
- | <file txt immich.conf> | ||
- | location / { | ||
- | proxy_pass http://< | ||
- | proxy_set_header Host $http_host; | ||
- | proxy_set_header X-Real-IP | ||
- | proxy_set_header X-Forwarded-For | ||
- | proxy_set_header X-Forwarded-Proto $scheme; | ||
- | |||
- | # http:// | ||
- | proxy_http_version 1.1; | ||
- | proxy_set_header | ||
- | proxy_set_header | ||
- | proxy_redirect off; | ||
- | } | ||
- | </ | ||
- | |||
- | you need also to disable authentication. | ||
- | |||
- | === First usage === | ||
- | |||
- | Fire up your browser at http://< | ||
- | To add //external libraries//, | ||
- | |||
- | === Command line CLI === | ||
- | |||
- | Immich has a CLI qhich requires NPM: | ||
- | <code bash> | ||
- | > emerge nodejs | ||
- | </ | ||
- | |||
- | as root: | ||
- | npm i -g @immich/cli | ||
- | |||
- | as une user: | ||
- | immich login-key http:// | ||
- | |||
- | immich upload --recursive directory/ | ||
- | |||
- | |||