Immich noml

This commit is contained in:
alexbelgium
2025-06-01 08:28:27 +02:00
parent 7b578929a1
commit e388c04075
11 changed files with 783 additions and 0 deletions

377
immich_noml/CHANGELOG.md Normal file
View File

@@ -0,0 +1,377 @@
## 1.134.0-2 (31-05-2025)
- Minor bugs fixed
## 1.134.0 (31-05-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.133.1-3 (30-05-2025)
- MAJOR CHANGE : please backup your database before updating
- Added vector.rs to vectorchord migration script for immich database
## 1.133.1-2 (26-05-2025)
- MAJOR CHANGE : please backup your database before updating
- Added VectorChord support https://github.com/immich-app/immich/releases/tag/v1.133.0
## 1.133.1 (24-05-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.132.3 (03-05-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.132.1 (26-04-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.131.3-3 (05-04-2025)
- Minor bugs fixed
## 1.131.3-2 (05-04-2025)
- Minor bugs fixed
## 1.131.3 (05-04-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.130.3 (29-03-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.129.0 (08-03-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.128.0 (01-03-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.126.1-12 (20-02-2025)
- Minor bugs fixed
## 1.126.1-11 (19-02-2025)
- Minor bugs fixed
## 1.126.1-7 (16-02-2025)
- RISK OF BREAKING CHANGE : backup both immich & postgres before starting
- RISK OF BREAKING CHANGE : rewrite and improve database creation tool using addon options (overwritting manual database creation)
- SECURITY FIX : avoid hardcoding the postgres root password and change it if was already applied
- NEW FUNCTION : allow to define a library path outside of the data location. For example, if you specify /mnt/NAS/MyPictures as "library_location", and /mnt/NAS/Immich as "data_location", it will then create the whole structure in /mnt/NAS/Immich including the /mnt/NAS/Immich/library. However, this will just be a symlink to /mnt/NAS/MyPictures ; allowing people to still manage their hard drives in a more linear manner
- Ensure host is reachable before starting
- Autocorrect homeassistant.local to local ip
- Align configuration with /addon_configs
- Add gpu access
## 1.126.1 (15-02-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.125.7 (01-02-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.125.2 (25-01-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.124.2-2 (11-01-2025)
- Minor bugs fixed
## 1.124.2 (11-01-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.123.0 (21-12-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.122.3 (14-12-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.122.1-4 (10-12-2024)
- Fix compatibility with postgres 15 addon
## 1.122.1-3 (08-12-2024)
- Fix healthcheck (thanks @red-avtovo)
## 1.122.1-2 (08-12-2024)
- Minor bugs fixed
## 1.122.1 (07-12-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.121.0 (23-11-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.120.2 (16-11-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.120.1 (09-11-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.119.1 (02-11-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.118.2 (19-10-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.117.0 (05-10-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.116.2 (28-09-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.115.0 (14-09-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.114.0 (07-09-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.113.0 (31-08-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.112.1 (17-08-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.111.0 (03-08-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.110.0 (27-07-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.109.2 (20-07-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.108.0 (13-07-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.107.2 (06-07-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.106.4-3 (24-06-2024)
- Minor bugs fixed
## 1.106.4-2 (15-06-2024)
- Minor bugs fixed
## 1.106.4 (15-06-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.105.1 (18-05-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.103.1 (04-05-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.102.3 (27-04-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.101.0 (06-04-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.100.0 (30-03-2024)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
## 1.99.0 (23-03-2024)
- Update to latest version from imagegenius/docker-immich
## 1.98.2 (16-03-2024)
- Update to latest version from imagegenius/docker-immich
## 1.98.1 (09-03-2024)
- Minor bugs fixed
## 1.98.0 (09-03-2024)
- Update to latest version from imagegenius/docker-immich
## 1.97.0 (02-03-2024)
- Update to latest version from imagegenius/docker-immich
## 1.95.1 (24-02-2024)
- Update to latest version from imagegenius/docker-immich
## 1.94.1 (03-02-2024)
- Update to latest version from imagegenius/docker-immich
- ⚠ PLEASE BACKUP before updating! Non reversible changes
- ⚠ BREAKING change : dependency on the update postgres image for vector.rs support, it will not work if you do not update postgres !
- ⚠ Database location changed from /data to /addon_configs/xxx-postgres : no expected user impact other that all configuration files will also be located in this folder accessible with addons such as Filebrowser
## 1.90.2 (09-12-2023)
- Update to latest version from imagegenius/docker-immich
## 1.89.0 (02-12-2023)
- Update to latest version from imagegenius/docker-immich
## 1.88.2-3 (27-11-2023)
- Minor bugs fixed
- Fix : add REVERSE_GEOCODING_DUMP_DIRECTORY in config environment
## 1.88.2 (25-11-2023)
- Update to latest version from imagegenius/docker-immich
## 1.88.1-7 (24-11-2023)
- Minor bugs fixed
## 1.88.1-6 (23-11-2023)
- Minor bugs fixed
## 1.88.1-5 (23-11-2023)
- Minor bugs fixed
- Fixed REDIS error
## 1.88.1 (21-11-2023)
- Update to latest version from imagegenius/docker-immich
## 1.87.0 (19-11-2023)
- Update to latest version from imagegenius/docker-immich
## 1.86.0 (18-11-2023)
- Update to latest version from imagegenius/docker-immich
## 1.85.0 (11-11-2023)
- Update to latest version from imagegenius/docker-immich
## 1.84.0 (04-11-2023)
- Update to latest version from imagegenius/docker-immich
## 1.82.1 (20-10-2023)
- Update to latest version from imagegenius/docker-immich
## 1.81.1 (07-10-2023)
- Update to latest version from imagegenius/docker-immich
## 1.79.1-2 (24-09-2023)
- Minor bugs fixed
- Feat : new optional settings for ML workers and timeout https://github.com/alexbelgium/hassio-addons/issues/996
## 1.79.1 (23-09-2023)
- Update to latest version from imagegenius/docker-immich
## 1.78.1-6 (22-09-2023)
- Minor bugs fixed
## 1.78.1-5 (21-09-2023)
- Minor bugs fixed
- YOU WILL LOSE DATA : the upstream container has removed the embedded postgres (read more https://github.com/imagegenius/docker-immich/issues/90). You now need to install and configure the postgress add-on from this same repo, and reference it in the addon options. This means you will lose your current database, and will need to recreate it from scratch. Your previous database will still be exported to the file /config/addons_config/immich/old_database.gzip. However exporting it to the postgres container is quite complex and not supported.
- BREAKING CHANGE : referencing the postgres options is now required. You can either install the postgres add-on from my repo, or this one for example : https://github.com/Expaso/hassos-addons/tree/master/timescaledb
- Switch from jammy branch to latest due to deprecation
## 1.78.1 (16-09-2023)
- Update to latest version from imagegenius/docker-immich
## 1.77.0 (09-09-2023)
- Update to latest version from imagegenius/docker-immich
## 1.75.2 (27-08-2023)
- Update to latest version from imagegenius/docker-immich
## 1.75.0 (26-08-2023)
- Update to latest version from imagegenius/docker-immich
## 1.74.0 (26-08-2023)
- Update to latest version from imagegenius/docker-immich
## 1.73.0 (19-08-2023)
- Update to latest version from imagegenius/docker-immich
## 1.72.2 (12-08-2023)
- Update to latest version from imagegenius/docker-immich
## 1.71.0 (05-08-2023)
- Update to latest version from imagegenius/docker-immich
## 1.70.0 (29-07-2023)
- Update to latest version from imagegenius/docker-immich
## 1.68.0 (22-07-2023)
- Update to latest version from imagegenius/docker-immich
## 1.67.2 (15-07-2023)
- Update to latest version from imagegenius/docker-immich
## 1.66.1 (08-07-2023)
- Update to latest version from imagegenius/docker-immich
- Beware that using the built-in Postgres 14 will likely fail at some point. It is recommended to upgrade to an external Postgres 15 database. A solution is the specific addon I've built. See https://github.com/imagegenius/docker-immich/issues/90
## 1.57.1-jammy (27-05-2023)
- Minor bugs fixed
- Switch to jammy branch (new features could break but is required until a separate Postgres addon is made)
## 1.57.1 (27-05-2023)
- Update to latest version from imagegenius/docker-immich
## 1.56.1 (19-05-2023)
- Update to latest version from imagegenius/docker-immich
## 1.55.1 (13-05-2023)
- Update to latest version from imagegenius/docker-immich
- Feat : cifsdomain added
## 1.54.1 (23-04-2023)
- Update to latest version from imagegenius/docker-immich
## 1.54.0 (21-04-2023)
- Update to latest version from imagegenius/docker-immich
## 1.53.0-2 (18-04-2023)
- Minor bugs fixed
- Fix : add option `TYPESENSE_ENABLED` https://github.com/alexbelgium/hassio-addons/issues/802
## 1.53.0 (08-04-2023)
- Update to latest version from imagegenius/docker-immich
## 1.52.1 (31-03-2023)
- Update to latest version from imagegenius/docker-immich
## 1.51.2 (24-03-2023)
- Update to latest version from imagegenius/docker-immich
- Implemented healthcheck
## 1.50.1 (04-03-2023)
- Update to latest version from imagegenius/docker-immich
## 1.49.0 (25-02-2023)
- Update to latest version from imagegenius/docker-immich
## 1.47.3 (19-02-2023)
- Update to latest version from imagegenius/docker-immich
## 1.45.0 (04-02-2023)
- Update to latest version from immich-app/immich
## 1.43.1 (28-01-2023)
- Update to latest version from immich-app/immich
## 1.43.0 (28-01-2023)
- Update to latest version from immich-app/immich
## 1.42.0 (21-01-2023)
- Update to latest version from immich-app/immich
## 1.41.1 (14-01-2023)
- Update to latest version from immich-app/immich
- Initial version

157
immich_noml/Dockerfile Normal file
View File

@@ -0,0 +1,157 @@
#============================#
# ALEXBELGIUM'S DOCKERFILE #
#============================#
# _.------.
# _.-` ('>.-`"""-.
# '.--'` _'` _ .--.)
# -' '-.-';` `
# ' - _.' ``'--.
# d '---` .-'""`
# /`
#=== Home Assistant Addon ===#
#################
# 1 Build Image #
#################
ARG BUILD_VERSION
ARG BUILD_FROM
FROM $BUILD_FROM
##################
# 2 Modify Image #
##################
# Set S6 wait time
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0
USER root
# Global LSIO modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
ARG CONFIGLOCATION="/config"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
# Install REDIS
ENV DOCKER_MODS="imagegenius/mods:universal-redis"
# && chmod 777 -R /docker-mods \
# && /./docker-mods/* || ls / \
# && if [ !-f /defaults/redis.conf ]; then echo "Not installed" && exit 1; fi
#ENV DOCKER_MODS=""
##################
# 3 Install apps #
##################
# Add rootfs
COPY rootfs/ /
# Uses /bin for compatibility purposes
# hadolint ignore=DL4005
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
# Modules
ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 00-local_mounts.sh 00-smb_mounts.sh"
# Automatic modules download
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
# Manual apps
ENV PACKAGES="sudo yamllint pip jq"
# Automatic apps & bashio
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
################
# 4 Entrypoint #
################
# Add entrypoint
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
# Entrypoint modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
RUN sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run
# Install dependencies
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update && apt-get install -y --no-install-recommends \
lsb-release \
wget \
gnupg && \
echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
apt-get update && \
apt-get install -y --no-install-recommends postgresql-client-15
#ENTRYPOINT [ "/usr/bin/env" ]
#CMD [ "/ha_entrypoint.sh" ]
############
# 5 Labels #
############
ARG BUILD_ARCH
ARG BUILD_DATE
ARG BUILD_DESCRIPTION
ARG BUILD_NAME
ARG BUILD_REF
ARG BUILD_REPOSITORY
ARG BUILD_VERSION
ENV BUILD_VERSION="${BUILD_VERSION}"
LABEL \
io.hass.name="${BUILD_NAME}" \
io.hass.description="${BUILD_DESCRIPTION}" \
io.hass.arch="${BUILD_ARCH}" \
io.hass.type="addon" \
io.hass.version=${BUILD_VERSION} \
maintainer="alexbelgium (https://github.com/alexbelgium)" \
org.opencontainers.image.title="${BUILD_NAME}" \
org.opencontainers.image.description="${BUILD_DESCRIPTION}" \
org.opencontainers.image.vendor="Home Assistant Add-ons" \
org.opencontainers.image.authors="alexbelgium (https://github.com/alexbelgium)" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.url="https://github.com/alexbelgium" \
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}
#################
# 6 Healthcheck #
#################
# Avoid spamming logs
# hadolint ignore=SC2016
RUN \
# Handle Apache configuration
if [ -d /etc/apache2/sites-available ]; then \
for file in /etc/apache2/sites-*/*.conf; do \
sed -i '/<VirtualHost/a \ \n # Match requests with the custom User-Agent "HealthCheck" \n SetEnvIf User-Agent "HealthCheck" dontlog \n # Exclude matching requests from access logs \n CustomLog ${APACHE_LOG_DIR}/access.log combined env=!dontlog' "$file"; \
done; \
fi && \
\
# Handle Nginx configuration
if [ -f /etc/nginx/nginx.conf ]; then \
awk '/http \{/{print; print "map $http_user_agent $dontlog {\n default 0;\n \"~*HealthCheck\" 1;\n}\naccess_log /var/log/nginx/access.log combined if=$dontlog;"; next}1' /etc/nginx/nginx.conf > /etc/nginx/nginx.conf.new && \
mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \
fi
ENV HEALTH_PORT="8080" \
HEALTH_URL="/api/server/ping"
HEALTHCHECK \
--interval=5s \
--retries=5 \
--start-period=30s \
--timeout=25s \
CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1

74
immich_noml/README.md Normal file
View File

@@ -0,0 +1,74 @@
# Home assistant add-on: immich
⚠️ The project is under very active development. Expect bugs and changes. Do not use it as the only way to store your photos and videos! (from the developer)
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
[![Donate][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fimmich%2Fconfig.json)
![Ingress](https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fimmich%2Fconfig.json)
![Arch](https://img.shields.io/badge/dynamic/json?color=success&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fimmich%2Fconfig.json)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/9c6cf10bdbba45ecb202d7f579b5be0e)](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
[![GitHub Super-Linter](https://img.shields.io/github/actions/workflow/status/alexbelgium/hassio-addons/weekly-supelinter.yaml?label=Lint%20code%20base)](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
[![Builder](https://img.shields.io/github/actions/workflow/status/alexbelgium/hassio-addons/onpush_builder.yaml?label=Builder)](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20(no%20paypal)-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
[paypal-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20with%20Paypal-0070BA?logo=paypal&style=flat&logoColor=white
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
[![Stargazers repo roster for @alexbelgium/hassio-addons](https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.github/stars2.svg)](https://github.com/alexbelgium/hassio-addons/stargazers)
![downloads evolution](https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/immich/stats.png)
## About
Web based files browser.
This addon is based on the [docker image](https://github.com/imagegenius/docker-immich) from imagegenius.
## Configuration
Postgresql can be either internal or external
```yaml
"PGID": "int",
"PUID": "int",
"TZ": "str?",
"cifsdomain": "str?",
"cifspassword": "str?",
"cifsusername": "str?",
"data_location": "str",
"localdisks": "str?",
"networkdisks": "str?",
"DB_HOSTNAME": "str?",
"DB_USERNAME": "str?",
"DB_PORT": "int?",
"DB_PASSWORD": "str?",
"DB_DATABASE_NAME": "str?",
"JWT_SECRET": "str?"
```
## Installation
The installation of this add-on is pretty straightforward and not different in
comparison to installing any other Hass.io add-on.
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
1. Install this add-on.
1. Click the `Save` button to store your configuration.
1. Start the add-on.
1. Check the logs of the add-on to see if everything went well.
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
Beware that you need to install a separate postgres addon to be able to connect the database. You can install the postgres addon already in my repository.
Beware to change the password BEFORE starting it ; it won't change afterwards
## Support
Create an issue on github, or ask on the [home assistant thread](https://community.home-assistant.io/t/home-assistant-addon-immich/282108/3)
[repository]: https://github.com/alexbelgium/hassio-addons
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg

1
immich_noml/apparmor.txt Symbolic link
View File

@@ -0,0 +1 @@
../immich/apparmor.txt

9
immich_noml/build.json Normal file
View File

@@ -0,0 +1,9 @@
{
"build_from": {
"aarch64": "ghcr.io/imagegenius/immich:noml",
"amd64": "ghcr.io/imagegenius/immich:noml"
},
"codenotary": {
"signer": "alexandrep.github@gmail.com"
}
}

153
immich_noml/config.json Normal file
View File

@@ -0,0 +1,153 @@
{
"arch": [
"aarch64",
"amd64"
],
"backup_exclude": [
"**/machine-learning/*"
],
"codenotary": "alexandrep.github@gmail.com",
"description": "Self-hosted photo and video backup solution directly from your mobile phone",
"devices": [
"/dev/dri",
"/dev/dxg",
"/dev/dri/card0",
"/dev/dri/card1",
"/dev/dri/renderD128",
"/dev/vchiq",
"/dev/video10",
"/dev/video11",
"/dev/video12",
"/dev/video13",
"/dev/video14",
"/dev/video15",
"/dev/video16",
"/dev/ttyUSB0",
"/dev/sda",
"/dev/sdb",
"/dev/sdc",
"/dev/sdd",
"/dev/sde",
"/dev/sdf",
"/dev/sdg",
"/dev/nvme",
"/dev/nvme0",
"/dev/nvme0n1",
"/dev/nvme0n1p1",
"/dev/nvme0n1p2",
"/dev/nvme0n1p3",
"/dev/nvme1n1",
"/dev/nvme1n1p1",
"/dev/nvme1n1p2",
"/dev/nvme1n1p3",
"/dev/nvme2n1",
"/dev/nvme2n1p1",
"/dev/nvme2n1p2",
"/dev/nvme2n3p3",
"/dev/mmcblk",
"/dev/fuse",
"/dev/sda1",
"/dev/sdb1",
"/dev/sdc1",
"/dev/sdd1",
"/dev/sde1",
"/dev/sdf1",
"/dev/sdg1",
"/dev/sda2",
"/dev/sdb2",
"/dev/sdc2",
"/dev/sdd2",
"/dev/sde2",
"/dev/sdf2",
"/dev/sdg2",
"/dev/sda3",
"/dev/sdb3",
"/dev/sda4",
"/dev/sdb4",
"/dev/sda5",
"/dev/sda6",
"/dev/sda7",
"/dev/sda8",
"/dev/nvme0",
"/dev/nvme1",
"/dev/nvme2"
],
"environment": {
"CI_PORT": "8080",
"DOCKER_MODS": "imagegenius/mods:universal-redis",
"MACHINE_LEARNING_CACHE_FOLDER": "/data/machine-learning",
"MACHINE_LEARNING_WORKERS": "1",
"MACHINE_LEARNING_WORKER_TIMEOUT": "120",
"PGID": "0",
"PUID": "0",
"REDIS_HOSTNAME": "localhost",
"REDIS_PORT": "6379",
"REVERSE_GEOCODING_DUMP_DIRECTORY": "/data/.reverse-geocoding-dump/",
"TRANSFORMERS_CACHE": "/data/machine-learning"
},
"hassio_api": true,
"image": "ghcr.io/alexbelgium/immich_noml-{arch}",
"init": false,
"map": [
"addon_config:rw",
"backup:rw",
"homeassistant_config:rw",
"media:rw",
"share:rw",
"ssl:rw"
],
"name": "Immich without Machine Learning",
"options": {
"DB_DATABASE_NAME": "immich",
"DB_HOSTNAME": "homeassistant.local",
"DB_PASSWORD": "homeassistant",
"DB_PORT": "5432",
"DB_USERNAME": "postgres",
"DISABLE_MACHINE_LEARNING": false,
"JWT_SECRET": "jt+OVWY6WqKJXw3xF5qOxN5L5/f4u2jlIlCQgWS3E4w=",
"TZ": "Europe/Paris",
"data_location": "/share/immich"
},
"panel_admin": false,
"panel_icon": "mdi:file-search",
"ports": {
"8080/tcp": 8181
},
"ports_description": {
"8080/tcp": "Web UI port"
},
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": {
"DB_DATABASE_NAME": "str",
"DB_HOSTNAME": "str",
"DB_PASSWORD": "str",
"DB_PORT": "int",
"DB_ROOT_PASSWORD": "str?",
"DB_USERNAME": "str",
"DISABLE_MACHINE_LEARNING": "bool?",
"JWT_SECRET": "str",
"MACHINE_LEARNING_WORKERS": "int?",
"MACHINE_LEARNING_WORKER_TIMEOUT": "int?",
"TZ": "str?",
"cifsdomain": "str?",
"cifspassword": "str?",
"cifsusername": "str?",
"data_location": "str",
"library_location": "str?",
"localdisks": "str?",
"networkdisks": "str?"
},
"services": [
"mysql:want"
],
"slug": "immich_noml",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons",
"usb": true,
"version": "1.134.0-2",
"video": true,
"webui": "http://[HOST]:[PORT:8080]"
}

1
immich_noml/icon.png Symbolic link
View File

@@ -0,0 +1 @@
../immich/icon.png

1
immich_noml/logo.png Symbolic link
View File

@@ -0,0 +1 @@
../immich/logo.png

1
immich_noml/rootfs Symbolic link
View File

@@ -0,0 +1 @@
../immich/rootfs

BIN
immich_noml/stats.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

9
immich_noml/updater.json Normal file
View File

@@ -0,0 +1,9 @@
{
"github_beta": "false",
"last_update": "31-05-2025",
"repository": "alexbelgium/hassio-addons",
"slug": "immich",
"source": "github",
"upstream_repo": "imagegenius/docker-immich",
"upstream_version": "1.134.0"
}