Compare commits
1 Commits
main
..
bee8dfeca6
| Author | SHA1 | Date | |
|---|---|---|---|
| bee8dfeca6 |
+17
-14
@@ -2,7 +2,7 @@ name: immich
|
||||
|
||||
services:
|
||||
server:
|
||||
image: ghcr.io/immich-app/immich-server:v2.7.5
|
||||
image: ghcr.io/immich-app/immich-server:v1.133.0
|
||||
container_name: immich_server
|
||||
# extends:
|
||||
# file: hwaccel.transcoding.yml
|
||||
@@ -10,12 +10,12 @@ services:
|
||||
user: 10002:10002
|
||||
depends_on:
|
||||
- redis
|
||||
- db_pg17
|
||||
- db
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
disable: false
|
||||
volumes:
|
||||
- photos:/data
|
||||
- photos:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
#ports:
|
||||
#- 2283:2283
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
- internal
|
||||
- proxy
|
||||
environment:
|
||||
DB_HOSTNAME: db_pg17
|
||||
DB_HOSTNAME: db
|
||||
DB_DATABASE_NAME_FILE: /run/secrets/db_name
|
||||
DB_USERNAME_FILE: /run/secrets/db_user
|
||||
DB_PASSWORD_FILE: /run/secrets/db_pass
|
||||
@@ -32,10 +32,11 @@ services:
|
||||
- db_user
|
||||
- db_pass
|
||||
|
||||
|
||||
machine-learning:
|
||||
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
||||
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.7.5
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3
|
||||
container_name: immich_machine_learning
|
||||
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
||||
# file: hwaccel.ml.yml
|
||||
@@ -50,16 +51,20 @@ services:
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
image: docker.io/valkey/valkey:8.1.4
|
||||
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
networks:
|
||||
- internal
|
||||
|
||||
db_pg17:
|
||||
image: ghcr.io/immich-app/postgres:17-vectorchord0.4.3
|
||||
container_name: immich_db_pg17
|
||||
db:
|
||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
|
||||
container_name: immich_db_pg14
|
||||
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
|
||||
healthcheck:
|
||||
test: [ CMD-SHELL,
|
||||
@@ -72,7 +77,7 @@ services:
|
||||
start_interval: 30s
|
||||
start_period: 5m
|
||||
volumes:
|
||||
- db_pg17:/var/lib/postgresql/data
|
||||
- db:/var/lib/postgresql/data
|
||||
networks:
|
||||
- internal
|
||||
environment:
|
||||
@@ -80,8 +85,6 @@ services:
|
||||
POSTGRES_USER_FILE: /run/secrets/db_user
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/db_pass
|
||||
POSTGRES_INITDB_ARGS: '--data-checksums'
|
||||
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
||||
# DB_STORAGE_TYPE: 'HDD'
|
||||
secrets:
|
||||
- db_name
|
||||
- db_user
|
||||
@@ -90,8 +93,8 @@ services:
|
||||
volumes:
|
||||
model-cache:
|
||||
name: immich_model_cache
|
||||
db_pg17:
|
||||
name: immich_db_pg17
|
||||
db:
|
||||
name: immich_db
|
||||
photos:
|
||||
name: immich_photos
|
||||
driver_opts:
|
||||
|
||||
+3
-3
@@ -11,11 +11,11 @@
|
||||
"groupName": "immich"
|
||||
},
|
||||
{
|
||||
"matchPackageNames": ["/postgres/"],
|
||||
"groupName": "database"
|
||||
"matchPackageNames": "docker.io/redis",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"matchPackageNames": "docker.io/valkey/valkey",
|
||||
"matchPackageNames": "tensorchord/pgvecto-rs",
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user