feat: added pgvector

Signed-off-by: ITQ <itq.dev@ya.ru>
This commit is contained in:
ITQ
2025-11-22 01:20:14 +03:00
parent d91ea80314
commit 0e6d60e165
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -153,7 +153,7 @@ services:
selinux: z
postgres:
image: docker.io/postgres:17-alpine
image: docker.io/pgvector/pgvector:pg17-trixie
env_file:
- path: ./infrastructure/configs/postgres/.env.template
required: true
@@ -178,6 +178,12 @@ services:
read_only: true
bind:
selinux: z
- type: bind
source: ./infrastructure/configs/postgres/init-db.sql
target: /docker-entrypoint-initdb.d/init-db.sql
read_only: true
bind:
selinux: z
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
+1 -1
View File
@@ -4,7 +4,7 @@ port = 8080
access_log = true
[database]
url = "postgresql+psycopg://postgres:postgres@postgres:5432/postgres"
url = "postgresql+psycopg://postgres:postgres@postgres:5432/app"
[access_token]
crypto_key = "YlPGYA-WnyYW8Cd0bFZWPeZjPjfXhrD9P7ciCprYmmc="