Commit graph

118 commits

Author SHA1 Message Date
Thomas Way
d46e5f2436
feat: Use postgres as a queue
We've been keen to try this for a while as it means we can remove redis as a
dependency, which makes Immich easier to setup and run.

This replaces bullmq with a bespoke postgres queue. Jobs in the queue are
processed either immediately via triggers and notifications, or eventually if a
notification is missed.
2025-04-30 22:42:18 +01:00
renovate[bot]
9851d24628
chore(deps): update docker.io/valkey/valkey:8-bookworm docker digest to c855f98 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 12:08:50 +01:00
Mert
7b6a4be30c
chore: use valkey ()
use valkey
2025-04-04 17:46:46 -05:00
Mert
2b37caba03
feat(ml): rocm ()
* feat(ml): introduce support of onnxruntime-rocm for AMD GPU

* try mutex for algo cache

use OrtMutex

* bump versions, run on mich

use 3.12

use 1.19.2

* acquire lock before any changes can be made

guard algo benchmark results

mark mutex as mutable

re-add /bin/sh (?)

use 3.10

use 6.1.2

* use composite cache key

1.19.2

fix variable name

fix variable reference

aaaaaaaaaaaaaaaaaaaa

* bump deps

* disable algo caching

* fix gha

* try ubuntu runner

* actually fix the gha

* update patch

* skip mimalloc preload for rocm

* increase build threads

* increase timeout for rocm

* Revert "increase timeout for rocm"

This reverts commit 2c4452f5d132198ed381a7b262b4a5cab5114b5f.

* attempt migraphx

* set migraphx_home

* Revert "set migraphx_home"

This reverts commit c121d3e48754b3bce100636f8d666deec58a44b7.

* Revert "attempt migraphx"

This reverts commit 521f9fb72dbe506dc6cb8faeb6494817d87265c6.

* migraphx, take two

* bump rocm

* allow cpu

* try only targeting migraphx

* skip tests

* migraph 

* known issues

* target gfx900 and gfx1102

* mention `HSA_USE_SVM`

* update lock

* set device id for rocm

---------

Co-authored-by: Mehdi GHESH <mehdi.ghesh@hotmail.fr>
2025-03-17 21:08:19 +00:00
Yoni Yang
14c3b99c0f
feat(ml): ML on Rockchip NPUs () 2025-03-17 12:04:08 -04:00
Nicholas Flamy
c6ede48e59
fix(server): set the dev server restart policy of the dev server container to match the other containers ()
set the restart policy of the dev server container to match the other containers
2025-03-09 22:25:03 -05:00
renovate[bot]
9b842d4cca
chore(deps): update tensorchord/pgvecto-rs:pg14-v0.2.0 docker digest to 739cdd6 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 12:13:38 +00:00
renovate[bot]
b3fbd0809b
chore(deps): update redis:6.2-alpine docker digest to 148bb54 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 14:23:03 +00:00
bo0tzz
25fcda6eeb
chore: add warning to all compose files () 2025-02-16 21:28:59 -06:00
renovate[bot]
194c567a45
chore(deps): update redis:6.2-alpine docker digest to 785233c ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 12:10:44 +00:00
Jason Rasmussen
b9000d8770
feat(web): immich-ui components ()
* feat: add immich-ui to auth pages

* fix: welcome icon

* styling

* fix: mobile padding

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-01-14 14:53:33 -05:00
renovate[bot]
f3dbbfa16d
chore(deps): update redis:6.2-alpine docker digest to 905c4ee ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-11 22:06:30 -06:00
Matthew Momjian
25488b3138
chore(deployment): cleanup database container args, move to using internal container ENV vars ()
* cleanup docker, normalize variable use

* newline

* semicolons
2024-11-26 08:59:56 -06:00
Rudolf Horváth
689c6aa276
docs: add developer notes about rootless docker setup () 2024-11-21 12:25:45 +00:00
Jason Rasmussen
ed8a3101a8
chore: update dev ports () 2024-11-20 14:44:19 -05:00
renovate[bot]
4ca27a3e7f
chore(deps): update redis:6.2-alpine docker digest to eaba718 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 07:12:30 -05:00
renovate[bot]
93346496fc
chore(deps): update redis:6.2-alpine docker digest to 77c6e37 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 01:15:30 +00:00
Jason Rasmussen
2efba6326d
chore(server): telemetry env clean up () 2024-10-29 19:20:32 +00:00
Ben
e98acc976e
chore: move weblate translations to root directory ()
* chore: move translations to root directory

* chore: update build processes to work with new i18n location
2024-10-22 15:39:28 +00:00
Jason Rasmussen
465f4639da
feat: align compose ports () 2024-10-09 16:01:52 -04:00
renovate[bot]
f5e0cdedbc
chore(deps): update redis:6.2-alpine docker digest to 2ba50e1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 15:27:47 -04:00
Zack Pollard
3eccff4306
feat: support and feedback modal with third party support () 2024-10-01 11:15:31 +01:00
Min Idzelis
7a755a089b
fix(server): debug port ()
Fix debug port
2024-09-17 03:13:38 +00:00
renovate[bot]
c6cff180b2
chore(deps): update redis:6.2-alpine docker digest to 2d14632 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 20:23:51 -04:00
renovate[bot]
2bf6a46927
chore(deps): update redis:6.2-alpine docker digest to fd1b540 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-07 14:52:04 -04:00
renovate[bot]
0dabb890cf
chore(deps): update redis:6.2-alpine docker digest to d72905e ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-07 13:20:00 -04:00
Mert
3f4b783889
chore: add healthcheck field to server and ml ()
add healthcheck field to server and ml
2024-08-04 13:37:43 -05:00
renovate[bot]
152421e288
chore(deps): update redis:6.2-alpine docker digest to e3b17ba ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 15:20:11 -04:00
Jason Rasmussen
8a445cac07
chore: build metadata ()
feat: build metadata
2024-06-26 08:25:09 -04:00
renovate[bot]
0a3aafd439
chore(deps): update redis:6.2-alpine docker digest to 328fe6a ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 16:46:24 -04:00
Matthew Momjian
eff839251c
fix(deployment): Postgres healthcheck, add username to pg_isready () 2024-06-20 14:17:57 -04:00
Mert
2e0c6f6fff
fix: postgres health check reporting any db without checksums as unhealthy ()
handle disabled checksumming
2024-06-12 00:18:24 +00:00
renovate[bot]
86eb2525d7
chore(deps): update redis:6.2-alpine docker digest to d6c2911 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 13:13:39 +01:00
Mert
4c7347d653
fix: re-add extends section for server in Compose files ()
re-add extends section
2024-05-27 21:04:07 +00:00
renovate[bot]
b2a0422efb
chore(deps): update redis:6.2-alpine docker digest to e31ca60 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-24 09:34:49 +01:00
Matthew Momjian
f8ee977b9e
feat(server): healthchecks for PG and redis ()
* HCs -> docker compose

---------

Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-05-22 09:28:12 +00:00
renovate[bot]
5f25f28c42
chore(deps): update redis:6.2-alpine docker digest to c0634a0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 20:19:43 -04:00
Zack Pollard
85aca2bb54
feat: microservices be gone ()
* feat: microservices be gone and api is a worker now too

* chore: remove very old startup scripts, surely nobody is using these anymore, right?

right?....
2024-05-17 14:44:30 +01:00
Matthew Momjian
55a7e54011
feat(server): enable data page checksums () 2024-05-11 11:11:14 -04:00
renovate[bot]
e72e41a7aa
chore(deps): update redis:6.2-alpine docker digest to 84882e8 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 12:46:59 +02:00
Jordy
636f5fb933
feat(docs): removed deprecated version line in docker compose files ()
Removed deprecated version line in docker compose files
2024-03-25 19:20:49 -04:00
renovate[bot]
e21c96c0ef
chore(deps): update redis:6.2-alpine docker digest to 3fcb624 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 07:14:44 -05:00
renovate[bot]
dab4595a4e
chore(deps): update redis:6.2-alpine docker digest to fd35357 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 14:09:10 -05:00
Mert
a097e903c9
feat(server): OpenTelemetry integration ()
* wip

* span class decorator

fix typing

* improvements

* noisy postgres logs

formatting

* add source

* strict string comparison

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>

* remove debug code

* execution time histogram

* remove prometheus stuff

remove prometheus data

* disable by default

disable nestjs-otel stuff by default

update imports

* re-add postgres instrumentation

formatting

formatting

* refactor: execution time histogram

* decorator alias

* formatting

* keep original method order in filesystem repo

* linting

* enable otel sdk in e2e

* actually enable otel sdk in e2e

* share exclude paths

* formatting

* fix rebase

* more buckets

* add example setup

* add envs

fix

actual fix

* linting

* update comments

* update docker env

* use more specific env

---------

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-03-12 05:19:12 +00:00
Jason Rasmussen
af0de1a768
chore: linting ()
* chore: linting

* fix: broken tests

* fix: formatting
2024-02-29 11:26:55 -05:00
Jason Rasmussen
7d59900662
chore: web shutdown signal () 2024-02-14 08:57:02 -06:00
renovate[bot]
479fca8f02
chore(deps): pin tensorchord/pgvecto-rs docker tag to 9072418 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 02:51:22 +00:00
Mert
56b0643890
feat(server)!: pgvecto.rs 0.2 and pgvector compatibility ()
* basic changes

update version check

set ef_search for clip

* pgvector compatibility

Revert "pgvector compatibility"

This reverts commit 2b66a52aa4097dd27da58138c5288fd87cb9b24a.

pgvector compatibility: minimal edition

pgvector startup check

* update extension at startup

* wording

shortened vector extension variable name

* nightly docker

* fixed version checks

* update tests

add tests for updating extension

remove unnecessary check

* simplify `getRuntimeConfig`

* wording

* reindex on minor version update

* 0.2 upgrade testing

update prod compose

* acquire lock for init

* wip vector down on shutdown

* use upgrade helper

* update image tag

* refine restart check

check error message

* test reindex

testing

upstream fix

formatting

fixed reindexing

* use enum in signature

* fix tests

remove unused code

* add reindexing tests

* update to official 0.2

remove alpha from version name

* add warning test if restart required

* update test image to 0.2.0

* linting and test cleanup

* formatting

* update sql

* wording

* handle setting search path for new and existing databases

* handle new db in reindex check

* fix post-update reindexing

* get dim size

* formatting

* use vbase

* handle different db name

* update sql

* linting

* fix suggested env
2024-02-06 21:46:38 -05:00
renovate[bot]
8a643e5e48
chore(deps): update redis:6.2-alpine docker digest to 51d6c56 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 22:20:38 -05:00
renovate[bot]
fdf4ee193f
chore(deps): update redis:6.2-alpine docker digest to afb290a ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 07:57:47 -05:00