7 Commits

4 changed files with 30 additions and 9 deletions
+27 -6
View File
@@ -24,22 +24,43 @@ services:
- ${DB_PATH}/postgres/data/postgres:/var/lib/postgresql/data
- ${DB_PATH}/postgres/init/postgres:/docker-entrypoint-initdb.d
postgres-with-pg-vector:
# postgres-with-pg-vector:
# extends:
# file: ${TEMPLATES_PATH}
# service: default
# container_name: postgres-with-pg-vector
# image: tensorchord/pgvecto-rs:pg16-v0.3.0
# ports:
# - 5433:5432
# networks:
# - ip4net
# - ip6net
# secrets: [postgres_default_password]
# environment:
# POSTGRES_PASSWORD_FILE: /run/secrets/postgres_default_password
# # PGDATA: /var/lib/postgresql/data
# # see https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html
# PUID: 5050
# PGID: 5050
# volumes:
# - ${DB_PATH}/postgres/data/postgres-with-pg-vector:/var/lib/postgresql/data
# - ${DB_PATH}/postgres/init/postgres-with-pg-vector:/docker-entrypoint-initdb.d
#
postgres-vectorchord:
extends:
file: ${TEMPLATES_PATH}
service: default
container_name: postgres-with-pg-vector
image: tensorchord/pgvecto-rs:pg16-v0.3.0
container_name: postgres-vectorchord
image: ghcr.io/immich-app/postgres:17-vectorchord0.3.0-pgvectors0.3.0
ports:
- 5433:5432
- 5434:5432
networks:
- ip4net
- ip6net
secrets: [postgres_default_password]
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_default_password
# PGDATA: /var/lib/postgresql/data
# see https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html
PUID: 5050
PGID: 5050
volumes:
+1 -1
View File
@@ -7,7 +7,7 @@ services:
image: ghcr.io/immich-app/immich-server:v2.7.5
environment:
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
DB_HOSTNAME: postgres-with-pg-vector
DB_HOSTNAME: postgres-vectorchord
DB_USERNAME: immich
DB_DATABASE_NAME: immich
REDIS_HOSTNAME: redis
+1 -1
View File
@@ -4,7 +4,7 @@ services:
file: ${TEMPLATES_PATH}
service: default
container_name: grafana
image: grafana/grafana-oss:12.4.3
image: grafana/grafana-oss:13.0.1
ports:
- 8090:3000
networks:
+1 -1
View File
@@ -3,7 +3,7 @@ services:
extends:
file: ${TEMPLATES_PATH}
service: default
image: ghost:6.25.1-alpine
image: ghost:6.30.0-alpine
container_name: ghost
ports:
- 4016:2368