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:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
#env_file:
|
environment:
|
||||||
# - stack.env
|
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:
|
ports:
|
||||||
- 2283:3001
|
- 2283:3001
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -23,8 +29,14 @@ services:
|
|||||||
image: ghcr.io/immich-app/immich-machine-learning:release
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
||||||
volumes:
|
volumes:
|
||||||
- model-cache:/cache
|
- model-cache:/cache
|
||||||
#env_file:
|
environment:
|
||||||
#- stack.env
|
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
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- immich
|
- immich
|
||||||
@@ -38,9 +50,7 @@ services:
|
|||||||
|
|
||||||
database:
|
database:
|
||||||
container_name: immich_postgres
|
container_name: immich_postgres
|
||||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
image: tensorchord/pgvecto-rs:pg16-v0.4.0
|
||||||
#env_file:
|
|
||||||
#- stack.env
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||||
POSTGRES_USER: ${DB_USERNAME}
|
POSTGRES_USER: ${DB_USERNAME}
|
||||||
@@ -51,7 +61,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- immich
|
- 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:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
|||||||
Reference in new issue
Block a user