tutorial fixed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user