Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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}'
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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 }
[Source Code](https://github.com/immich-app/immich){ .md-button }
Loading