tutorial fixed

This commit is contained in:
leonie 3
2026-08-27 20:11:57 +02:00
parent 8038316ec9
commit ffb5cd336d
2 changed files with 171 additions and 25 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ services:
- calendar_pdf:/var/www/html/pdf
db:
image: postgres:${POSTGRES_VERSION:-16}
image: pgvector/pgvector:pg18
ports:
- "127.0.0.1:5432:5432"
environment:
@@ -45,7 +45,7 @@ services:
POSTGRES_USER: ${DB_USER:?set DB_USER in .env}
POSTGRES_PASSWORD: ${DB_PASSWORD:?set DB_PASSWORD in .env}
volumes:
- postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U \"$${POSTGRES_USER}\" -d \"$${POSTGRES_DB}\""]
interval: 5s