Update to PostgreSQL 16 with VectorChord v0.4.0
This commit is contained in:
1 parent
7c9a58fac7
commit
abb080c26d
1 file changed
+17
-8
@@ -7,8 +7,14 @@ services:
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
#env_file:
|
||||
# - stack.env
|
||||
environment:
|
||||
DB_HOSTNAME: ${DB_HOSTNAME}
|
||||
DB_USERNAME: ${DB_USERNAME}
|
||||
DB_PASSWORD: ${DB_PASSWORD}
|
||||
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
|
||||
REDIS_HOSTNAME: ${REDIS_HOSTNAME}
|
||||
LOG_LEVEL: ${LOG_LEVEL}
|
||||
TZ: ${TZ}
|
||||
ports:
|
||||
- 2283:3001
|
||||
depends_on:
|
||||
@@ -23,8 +29,14 @@ services:
|
||||
image: ghcr.io/immich-app/immich-machine-learning:release
|
||||
volumes:
|
||||
- model-cache:/cache
|
||||
#env_file:
|
||||
#- stack.env
|
||||
environment:
|
||||
DB_HOSTNAME: ${DB_HOSTNAME}
|
||||
DB_USERNAME: ${DB_USERNAME}
|
||||
DB_PASSWORD: ${DB_PASSWORD}
|
||||
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
|
||||
REDIS_HOSTNAME: ${REDIS_HOSTNAME}
|
||||
LOG_LEVEL: ${LOG_LEVEL}
|
||||
TZ: ${TZ}
|
||||
restart: always
|
||||
networks:
|
||||
- immich
|
||||
@@ -38,9 +50,7 @@ services:
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
||||
#env_file:
|
||||
#- stack.env
|
||||
image: tensorchord/pgvecto-rs:pg16-v0.4.0
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME}
|
||||
@@ -51,7 +61,6 @@ services:
|
||||
restart: always
|
||||
networks:
|
||||
- immich
|
||||
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"]
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
||||
Reference in new issue
Block a user