Upgrade Postgres from 14 to 17 (#8)
This commit is contained in:
@ -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,7 +31,6 @@ 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.
|
||||||
@ -58,9 +57,9 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
db:
|
db_pg17:
|
||||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvector0.8.0
|
image: ghcr.io/immich-app/postgres:17-vectorchord0.3.0-pgvector0.8.0
|
||||||
container_name: immich_db_pg14
|
container_name: immich_db_pg17
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ CMD-SHELL,
|
test: [ CMD-SHELL,
|
||||||
@ -73,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:
|
||||||
@ -91,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:
|
||||||
|
Reference in New Issue
Block a user