From 93bba6a36cb5d6c9f6c3a762d25700f38cea4e51 Mon Sep 17 00:00:00 2001 From: timefrance <68469764+timefrance@users.noreply.github.com> Date: Fri, 12 Jun 2026 21:01:03 +0200 Subject: [PATCH] Update the "AppJail Director" part of README.md The env DB_USERNAME and DB_PASSWORD were missing in appjail-director.yml for the service immich-server. We also need to `chown -R 1000:1000` the folder "library" --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f8c102..e846074 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu === ":appjail-appjail: AppJail Director" - **.env**: + **1.** Save as `.env`: ``` { data-zip-bundle="immich-appjail" data-zip-filename=".env" } UPLOAD_LOCATION=/var/appjail-volumes/immich/library @@ -180,7 +180,7 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu DIRECTOR_PROJECT=immich ``` - **appjail-director.yml**: + **2.** Save as `appjail-director.yml`: ```yaml { data-zip-bundle="immich-appjail" data-zip-filename="appjail-director.yml" } options: @@ -198,6 +198,8 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu oci: environment: - DB_HOSTNAME: 127.0.0.1 + - DB_USERNAME: !ENV '${DB_USERNAME}' + - DB_PASSWORD: !ENV '${DB_PASSWORD}' - REDIS_HOSTNAME: 127.0.0.1 - IMMICH_MACHINE_LEARNING_URL: http://127.0.0.1:3003 - TZ: !ENV '${TZ}' @@ -245,7 +247,7 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu device: !ENV '${DB_DATA_LOCATION}' ``` - **immich-postgres-template.conf**: + **3.** Save as `immich-postgres-template.conf`: ``` { data-zip-bundle="immich-appjail" data-zip-filename="immich-postgres-template.conf" } exec.start: "/bin/sh /etc/rc" @@ -257,13 +259,21 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu persist ``` - **Makejail**: + **4.** Save as `Makejail`: ``` { data-zip-bundle="immich-appjail" data-zip-filename="Makejail" } OPTION container=boot args:--pull OPTION overwrite=force ``` + **5.** Deploy: + + ```bash + mkdir -p library postgres + chown -R 1000:1000 library postgres + appjail-director up + ``` + Access Immich at: **http://your-host:2283** ## Environment Variables @@ -394,4 +404,4 @@ For detailed configuration of individual services: [Immich Website](https://immich.app/){ .md-button .md-button--primary } [Immich Docs](https://immich.app/docs/){ .md-button } -[Source Code](https://github.com/immich-app/immich){ .md-button } \ No newline at end of file +[Source Code](https://github.com/immich-app/immich){ .md-button }