Files
HetznerDokployLab/projects/immich/docker-compose.yml
dependabot[bot] 22a54657b5 Bump immich-app/immich-server from v2.7.5 to v3.1.0 in /projects/immich
Bumps [immich-app/immich-server](https://github.com/immich-app/immich) from v2.7.5 to v3.1.0.
- [Release notes](https://github.com/immich-app/immich/releases)
- [Commits](https://github.com/immich-app/immich/compare/v2.7.5...v3.1.0)

---
updated-dependencies:
- dependency-name: immich-app/immich-server
  dependency-version: v3.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-02 23:11:15 +00:00

123 lines
2.9 KiB
YAML

version: "3.9"
services:
immich-server:
image: ghcr.io/immich-app/immich-server:v3.1.0
deploy:
resources:
limits:
cpus: "1.25"
memory: 2G
labels:
- rclone.storage=storagebox-crypt
volumes:
- /media/storagebox-crypt/immich/library:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
depends_on:
immich-redis:
condition: service_healthy
immich-database:
condition: service_healthy
environment:
PORT: 2283
SERVER_URL: ${SERVER_URL}
FRONT_BASE_URL: ${FRONT_BASE_URL}
DB_HOSTNAME: ${DB_HOSTNAME}
DB_PORT: ${DB_PORT}
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
REDIS_HOSTNAME: ${REDIS_HOSTNAME}
REDIS_PORT: ${REDIS_PORT}
REDIS_DBINDEX: ${REDIS_DBINDEX}
TZ: ${TZ}
UPLOAD_LOCATION: ${UPLOAD_LOCATION}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:2283/server-info/ping"]
interval: 30s
timeout: 10s
retries: 3
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:v2.7.5
deploy:
resources:
limits:
cpus: "1.75"
memory: 2.5G
volumes:
- immich-model-cache:/cache
environment:
REDIS_HOSTNAME: ${REDIS_HOSTNAME}
REDIS_PORT: ${REDIS_PORT}
REDIS_DBINDEX: ${REDIS_DBINDEX}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3003/ping"]
interval: 30s
timeout: 10s
retries: 3
immich-redis:
image: redis:6.2-alpine
deploy:
resources:
limits:
cpus: "0.25"
memory: 256M
volumes:
- immich-redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
restart: always
immich-database:
image: tensorchord/pgvecto-rs:pg14-v0.3.0
deploy:
resources:
limits:
cpus: "0.75"
memory: 1.5G
volumes:
- immich-postgres:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: immich
POSTGRES_INITDB_ARGS: '--data-checksums'
healthcheck:
test: pg_isready -U ${DB_USERNAME} -d immich || 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: always
networks:
dokploy-network:
external: true
volumes:
immich-model-cache:
immich-postgres:
immich-redis-data: