Upgrade postgres vectorchord to 0.4.3 and rename network

This commit is contained in:
deceivedhornet 2026-01-11 17:27:30 -05:00
parent c936c7c645
commit 291f4adad4

View file

@ -25,7 +25,7 @@ services:
ports: ports:
- '2283:2283' - '2283:2283'
networks: networks:
- caddy-network - immich-net
depends_on: depends_on:
- redis - redis
- database - database
@ -46,7 +46,7 @@ services:
env_file: env_file:
- .env - .env
networks: networks:
- caddy-network - immich-net
restart: always restart: always
healthcheck: healthcheck:
disable: false disable: false
@ -57,12 +57,12 @@ services:
healthcheck: healthcheck:
test: redis-cli ping || exit 1 test: redis-cli ping || exit 1
networks: networks:
- caddy-network - immich-net
restart: always restart: always
database: database:
container_name: immich_postgres container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.1-pgvectors0.2.0 image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
environment: environment:
POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME} POSTGRES_USER: ${DB_USERNAME}
@ -73,14 +73,14 @@ services:
volumes: volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 1gb
networks: networks:
- caddy-network - immich-net
restart: always restart: always
networks: networks:
caddy-network: immich-net:
external: true external: true
# driver: bridge
volumes: volumes:
model-cache: model-cache: