mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
b08002000f
Upgrades all references of pgvector/pgvector from pg16 to pg18, including docker-compose files and e2e testing environments. Updates the development docker-compose to mount the postgres volume at /var/lib/postgresql to align with pg18+ directory requirements. Also adds `shrink-0` to WhatsNewDialog header and footer to resolve a layout overflow glitch.
27 lines
731 B
YAML
27 lines
731 B
YAML
name: bookorbit-dev
|
|
|
|
services:
|
|
postgres:
|
|
container_name: bookorbit-dev-db
|
|
image: pgvector/pgvector:pg18
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: ${DEV_POSTGRES_USER:-bookorbit}
|
|
POSTGRES_PASSWORD: ${DEV_POSTGRES_PASSWORD:-bookorbit}
|
|
POSTGRES_DB: ${DEV_POSTGRES_DB:-bookorbit}
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
ports:
|
|
- "${DEV_POSTGRES_PORT:-5432}:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql
|
|
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
|
|
healthcheck:
|
|
test:
|
|
["CMD-SHELL", 'pg_isready -U "$${POSTGRES_USER}" -d "$${POSTGRES_DB}"']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
postgres_data:
|