diff options
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/jails/20_immich/defaults/main.yml | 4 | ||||
| -rw-r--r-- | roles/jails/20_immich/templates/jail.conf.j2 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/jails/20_immich/defaults/main.yml b/roles/jails/20_immich/defaults/main.yml index cb0bd35..518dfec 100644 --- a/roles/jails/20_immich/defaults/main.yml +++ b/roles/jails/20_immich/defaults/main.yml @@ -6,12 +6,12 @@ oci_images: image: "ghcr.io/immich-app/immich-server:{{ immich_version }}" check_path: /usr/src/app/server/dist/main.js mounts: - - { type: nullfs, src: immich_data, dst: /data } + - { type: nullfs, src: /immich_data, dst: /data } - name: immich-ml image: "ghcr.io/immich-app/immich-machine-learning:{{ immich_version }}" check_path: /opt/venv/bin/python mounts: - - { type: nullfs, src: model-cache, dst: /cache } + - { type: nullfs, src: /model_cache, dst: /cache } zfs: - name: zroot/jails/volumes/immich_data diff --git a/roles/jails/20_immich/templates/jail.conf.j2 b/roles/jails/20_immich/templates/jail.conf.j2 index 482737f..13680af 100644 --- a/roles/jails/20_immich/templates/jail.conf.j2 +++ b/roles/jails/20_immich/templates/jail.conf.j2 @@ -42,7 +42,7 @@ immich { mount += "tmpfs $path/image/{{ img.name }}/tmp tmpfs rw 0 0"; mount += "tmpfs $path/image/{{ img.name }}/run tmpfs rw 0 0"; {% for mnt in img.mounts | default([]) %} - mount += "$path/{{ mnt.src }} $path/image/{{ img.name }}{{ mnt.dst }} nullfs rw 0 0"; + mount += "$path{{ mnt.src }} $path/image/{{ img.name }}{{ mnt.dst }} nullfs rw 0 0"; {% endfor %} {% endfor %} } |
