Immich: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
Content deleted Content added
Create Immich page
 
m Make headers consistent
Line 1:
<span id="administration"></span>
= Administration =
 
== Administration ==
* Admin credentials are stored in [TODO].
* Take care not to touch the external libraries unless you know what you're doing; those are used to link users' Nextcloud data to their Immich accounts.
 
== Container setup ==
<span id="container-setup"></span>
= Container setup =
 
Immich runs in <code>docker compose</code>. All relevant files can be found in <code>/root/immich</code> on guayusa.
 
== Access ==
<span id="access"></span>
= Access =
 
In <code>/root/immich</code> on guayusa:
* <code>docker compose exec -it database psql -U postgres immich</code> will get you a psql shell in the Immich Postgres database.

Revision as of 09:25, 30 September 2025

Administration

  • Admin credentials are stored in [TODO].
  • Take care not to touch the external libraries unless you know what you're doing; those are used to link users' Nextcloud data to their Immich accounts.

Container setup

Immich runs in docker compose. All relevant files can be found in /root/immich on guayusa.

Access

In /root/immich on guayusa:

Nginx

The Immich setup piggybacks off the nginx instance running in the Nextcloud container. Once you've gained access to the container via sudo machinectl shell nextcloud, the nginx config can be found at /etc/nginx/sites-available/immich.

Linking Nextcloud

Every user who has logged into both Immich and Nextcloud will have an external library created in Immich, following the naming convention [watiam]'s Library. This allows Immich to access the user's images stored in Nextcloud, located at /var/lib/machines/nextcloud/data/nextcloud-data/[watiam]/files.

The libraries are created by the script /root/immich/sync-libraries.sh. It's in the root user's crontab, set to run every hour.

OIDC setup

OAuth can be configured in the web UI -> Administration from the admin account. Documentation.