Compare commits
3 Commits
main
...
postgres_u
Author | SHA1 | Date | |
---|---|---|---|
c100225f04 | |||
cf5872eca3 | |||
93150679ab |
@ -10,7 +10,7 @@ services:
|
||||
user: 10002:10002
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
- db_pg17
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
disable: false
|
||||
@ -23,7 +23,7 @@ services:
|
||||
- internal
|
||||
- proxy
|
||||
environment:
|
||||
DB_HOSTNAME: db
|
||||
DB_HOSTNAME: db_pg17
|
||||
DB_DATABASE_NAME_FILE: /run/secrets/db_name
|
||||
DB_USERNAME_FILE: /run/secrets/db_user
|
||||
DB_PASSWORD_FILE: /run/secrets/db_pass
|
||||
@ -31,7 +31,6 @@ services:
|
||||
- db_name
|
||||
- db_user
|
||||
- db_pass
|
||||
|
||||
|
||||
machine-learning:
|
||||
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
||||
@ -58,9 +57,9 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
|
||||
db:
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvector0.8.0
|
||||
container_name: immich_db_pg14
|
||||
db_pg17:
|
||||
image: ghcr.io/immich-app/postgres:17-vectorchord0.3.0-pgvector0.8.0
|
||||
container_name: immich_db_pg17
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: [ CMD-SHELL,
|
||||
@ -73,7 +72,7 @@ services:
|
||||
start_interval: 30s
|
||||
start_period: 5m
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
- db_pg17:/var/lib/postgresql/data
|
||||
networks:
|
||||
- internal
|
||||
environment:
|
||||
@ -91,8 +90,8 @@ services:
|
||||
volumes:
|
||||
model-cache:
|
||||
name: immich_model_cache
|
||||
db:
|
||||
name: immich_db
|
||||
db_pg17:
|
||||
name: immich_db_pg17
|
||||
photos:
|
||||
name: immich_photos
|
||||
driver_opts:
|
||||
|
Reference in New Issue
Block a user