Compare commits
17 Commits
79f6d070fb
...
postgres_u
Author | SHA1 | Date | |
---|---|---|---|
c100225f04 | |||
cf5872eca3 | |||
93150679ab | |||
17a992a3b6 | |||
938f0c00c6 | |||
f4b19d111c | |||
9a52f5f239 | |||
afcd9dbfa5 | |||
e9b0048375 | |||
93a609e626 | |||
1a870d6903 | |||
3c3afdf377 | |||
e89924a681 | |||
8760d1adbc | |||
6f1cbd403b | |||
b78c8e1bf8 | |||
1dca8065f3 |
@ -2,7 +2,7 @@ name: immich
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: ghcr.io/immich-app/immich-server:v1.131.3
|
image: ghcr.io/immich-app/immich-server:v1.133.1
|
||||||
container_name: immich_server
|
container_name: immich_server
|
||||||
# extends:
|
# extends:
|
||||||
# file: hwaccel.transcoding.yml
|
# file: hwaccel.transcoding.yml
|
||||||
@ -10,7 +10,7 @@ services:
|
|||||||
user: 10002:10002
|
user: 10002:10002
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- db
|
- db_pg17
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
@ -23,7 +23,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
DB_HOSTNAME: db
|
DB_HOSTNAME: db_pg17
|
||||||
DB_DATABASE_NAME_FILE: /run/secrets/db_name
|
DB_DATABASE_NAME_FILE: /run/secrets/db_name
|
||||||
DB_USERNAME_FILE: /run/secrets/db_user
|
DB_USERNAME_FILE: /run/secrets/db_user
|
||||||
DB_PASSWORD_FILE: /run/secrets/db_pass
|
DB_PASSWORD_FILE: /run/secrets/db_pass
|
||||||
@ -31,12 +31,11 @@ services:
|
|||||||
- db_name
|
- db_name
|
||||||
- db_user
|
- db_user
|
||||||
- db_pass
|
- db_pass
|
||||||
|
|
||||||
|
|
||||||
machine-learning:
|
machine-learning:
|
||||||
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
||||||
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:v1.131.3
|
image: ghcr.io/immich-app/immich-machine-learning:v1.133.1
|
||||||
container_name: immich_machine_learning
|
container_name: immich_machine_learning
|
||||||
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
||||||
# file: hwaccel.ml.yml
|
# file: hwaccel.ml.yml
|
||||||
@ -51,20 +50,16 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: immich_redis
|
container_name: immich_redis
|
||||||
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
|
image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping || exit 1
|
test: redis-cli ping || exit 1
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
db:
|
db_pg17:
|
||||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
|
image: ghcr.io/immich-app/postgres:17-vectorchord0.3.0-pgvector0.8.0
|
||||||
container_name: immich_db_pg14
|
container_name: immich_db_pg17
|
||||||
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
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ CMD-SHELL,
|
test: [ CMD-SHELL,
|
||||||
@ -77,7 +72,7 @@ services:
|
|||||||
start_interval: 30s
|
start_interval: 30s
|
||||||
start_period: 5m
|
start_period: 5m
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db_pg17:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
environment:
|
environment:
|
||||||
@ -85,6 +80,8 @@ services:
|
|||||||
POSTGRES_USER_FILE: /run/secrets/db_user
|
POSTGRES_USER_FILE: /run/secrets/db_user
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/db_pass
|
POSTGRES_PASSWORD_FILE: /run/secrets/db_pass
|
||||||
POSTGRES_INITDB_ARGS: '--data-checksums'
|
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:
|
secrets:
|
||||||
- db_name
|
- db_name
|
||||||
- db_user
|
- db_user
|
||||||
@ -93,8 +90,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
model-cache:
|
model-cache:
|
||||||
name: immich_model_cache
|
name: immich_model_cache
|
||||||
db:
|
db_pg17:
|
||||||
name: immich_db
|
name: immich_db_pg17
|
||||||
photos:
|
photos:
|
||||||
name: immich_photos
|
name: immich_photos
|
||||||
driver_opts:
|
driver_opts:
|
||||||
|
23
renovate.json
Normal file
23
renovate.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"labels": ["renovate"],
|
||||||
|
"configMigration": true,
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchPackageNames": ["/immich-app/"],
|
||||||
|
"groupName": "immich"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": ["/postgres/"],
|
||||||
|
"groupName": "database"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": "docker.io/valkey/valkey",
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user