Merge pull request #1002 from Dokploy/fix/immich-update

fix(immich): update to v3.0.2
This commit is contained in:
Mauricio Siu
2026-07-14 13:57:22 -06:00
committed by GitHub
3 changed files with 12 additions and 43 deletions

View File

@@ -2,10 +2,10 @@ version: "3.9"
services:
immich-server:
image: ghcr.io/immich-app/immich-server:v2.1.0
image: ghcr.io/immich-app/immich-server:v3.0.2
volumes:
- immich-library:/usr/src/app/upload
- immich-library:/data
- /etc/localtime:/etc/localtime:ro
depends_on:
immich-redis:
@@ -13,9 +13,6 @@ services:
immich-database:
condition: service_healthy
environment:
PORT: 2283
SERVER_URL: ${SERVER_URL}
FRONT_BASE_URL: ${FRONT_BASE_URL}
# Database Configuration
DB_HOSTNAME: ${DB_HOSTNAME}
DB_PORT: ${DB_PORT}
@@ -30,70 +27,45 @@ services:
TZ: ${TZ}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:2283/server-info/ping"]
interval: 30s
timeout: 10s
retries: 3
disable: false
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:v2.1.0
image: ghcr.io/immich-app/immich-machine-learning:v3.0.2
volumes:
- immich-model-cache:/cache
environment:
REDIS_HOSTNAME: ${REDIS_HOSTNAME}
REDIS_PORT: ${REDIS_PORT}
REDIS_DBINDEX: ${REDIS_DBINDEX}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3003/ping"]
interval: 30s
timeout: 10s
retries: 3
disable: false
immich-redis:
image: redis:6.2-alpine
image: valkey/valkey:9
volumes:
- immich-redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: redis-cli ping || exit 1
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
immich-database:
image: tensorchord/pgvecto-rs:pg14-v0.3.0
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
volumes:
- immich-postgres:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: immich
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
shm_size: 128mb
healthcheck:
test: pg_isready -U ${DB_USERNAME} -d immich || exit 1
test: pg_isready -U ${DB_USERNAME} -d ${DB_DATABASE_NAME} || exit 1
interval: 10s
timeout: 5s
retries: 5
command:
[
'postgres',
'-c',
'shared_preload_libraries=vectors.so',
'-c',
'search_path="$$user", public, vectors',
'-c',
'logging_collector=on',
'-c',
'max_wal_size=2GB',
'-c',
'shared_buffers=512MB',
'-c',
'wal_compression=on',
]
restart: unless-stopped
volumes:

View File

@@ -1,7 +1,7 @@
{
"id": "immich",
"name": "Immich",
"version": "v1.121.0",
"version": "v3.0.2",
"description": "High performance self-hosted photo and video backup solution directly from your mobile phone.",
"logo": "immich.svg",
"links": {

View File

@@ -5,9 +5,6 @@ db_user = "immich"
[config]
env = [
"IMMICH_HOST=${main_domain}",
"SERVER_URL=https://${main_domain}",
"FRONT_BASE_URL=https://${main_domain}",
"DB_HOSTNAME=immich-database",
"DB_PORT=5432",
"DB_USERNAME=${db_user}",